Deletes specified attributes from multiple items in SimpleDB.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# |
|---|
public void DeleteAttributes<T>( IList itemNames, params string[] propertyNames ) |
| Visual Basic |
|---|
Public Sub DeleteAttributes(Of T) ( _ itemNames As IList, _ ParamArray propertyNames As String() _ ) |
| Visual C++ |
|---|
public: generic<typename T> virtual void DeleteAttributes( IList^ itemNames, ... array<String^>^ propertyNames ) sealed |
Parameters
- itemNames
- Type: System.Collections..::..IList
Item names of the items to delete
- propertyNames
- Type: array<System..::..String>[]()[][]
Names of properties to delete
Type Parameters
- T
Implements
ISimol..::..DeleteAttributes<(Of <<'(T>)>>)(IList, array<String>[]()[][])
Remarks
See Delete<(Of <<'(T>)>>)(IList) for details on batch-put behavior.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | If the itemNames parameter is null |
| System..::..ArgumentException | If the itemNames types are 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 |