Deletes an ad-hoc list of item values from SimpleDB without an item type generic parameter.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public void DeleteAttributes(
	ItemMapping mapping,
	Object itemName,
	params string[] propertyNames
)
Visual Basic
Public Sub DeleteAttributes ( _
	mapping As ItemMapping, _
	itemName As Object, _
	ParamArray propertyNames As String() _
)
Visual C++
public:
virtual void DeleteAttributes(
	ItemMapping^ mapping, 
	Object^ itemName, 
	... array<String^>^ propertyNames
) sealed

Parameters

mapping
Type: Simol..::..ItemMapping
The item mapping
itemName
Type: System..::..Object
Identifies the item from which to remove attributes
propertyNames
Type: array<System..::..String>[]()[][]
Names of properties to delete

Implements

ISimol..::..DeleteAttributes(ItemMapping, 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

ExceptionCondition
System..::..ArgumentNullExceptionIf the mapping or itemName parameters are null
System..::..ArgumentExceptionIf the itemName type is invalid for the item type
AmazonSimpleDBExceptionIf the request to SimpleDB fails for any reason
Simol..::..SimolDataExceptionIf there are any property value conversion failures
Simol..::..SimolConfigurationExceptionIf no valid SimpleDB mapping can be configured for the specified item type

See Also