Deletes specified attributes from a single item in SimpleDB.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public void DeleteAttributes<T>( Object itemName, params string[] propertyNames ) |
Visual Basic |
---|
Public Sub DeleteAttributes(Of T) ( _ itemName As Object, _ ParamArray propertyNames As String() _ ) |
Visual C++ |
---|
public: generic<typename T> virtual void DeleteAttributes( Object^ itemName, ... array<String^>^ propertyNames ) sealed |
Parameters
- itemName
- Type: System..::..Object
Identifies the item from which to remove attributes
- propertyNames
- Type: array<System..::..String>[]()[][]
Names of properties to delete
Type Parameters
- T
- Item type which identifies the SimpleDB domain where the item is stored
Implements
ISimol..::..DeleteAttributes<(Of <<'(T>)>>)(Object, array<String>[]()[][])Remarks
If the list of property names is empty all attributes will be deleted (same behavior as Delete<(Of <<'(T>)>>)(Object)).
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 |