Gets an item from SimpleDB.

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

Syntax

C#
public T Get<T>(
	Object itemName
)
Visual Basic
Public Function Get(Of T) ( _
	itemName As Object _
) As T
Visual C++
public:
generic<typename T>
virtual T Get(
	Object^ itemName
) sealed

Parameters

itemName
Type: System..::..Object
SimpleDB item name of the item to get.

Type Parameters

T
Type of the item to return

Return Value

The item or null if no attributes exist for the specified item name.

Remarks

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionIf the itemName parameter is null
AmazonSimpleDBExceptionIf the request to SimpleDB fails for any reason
Simol..::..SimolDataExceptionIf the SimpleDB item cannot be converted into the requested item type
Simol..::..SimolConfigurationExceptionIf no valid SimpleDB mapping can be configured for the requested item type

See Also