Deletes an item from SimpleDB (all attributes).
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# |
|---|
public void Delete<T>( Object itemName ) |
| Visual Basic |
|---|
Public Sub Delete(Of T) ( _ itemName As Object _ ) |
| Visual C++ |
|---|
public: generic<typename T> virtual void Delete( Object^ itemName ) sealed |
Parameters
- itemName
- Type: System..::..Object
Item name of the item to delete.
Type Parameters
- T
- Type of the item to delete
Implements
ISimol..::..Delete<(Of <<'(T>)>>)(Object)
Remarks
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | If the itemName parameter is null |
| System..::..ArgumentException | If the itemName type is invalid for the item type |
| AmazonSimpleDBException | If the request to SimpleDB fails for any reason |
| Simol..::..SimolDataException | If there are any property value conversion failures |
| Simol..::..SimolConfigurationException | If no valid SimpleDB mapping can be configured for the specified item type |