Creates a new table operation that retrieves the contents of the given entity in a table.
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim partitionKey As String
Dim rowkey As String
Dim returnValue As TableOperation
returnValue = TableOperation.Retrieve(partitionKey, rowkey) |
Syntax
Visual Basic |
---|
Public Shared Function Retrieve(Of TElement As ITableEntity) ( _
partitionKey As String, _
rowkey As String _
) As TableOperation |
C# |
---|
public static TableOperation Retrieve<TElement> (
string partitionKey,
string rowkey
) where TElement : ITableEntity |
C++ |
---|
public:
generic<typename TElement> where TElement : ITableEntity
static TableOperation^ Retrieve (
String^ partitionKey,
String^ rowkey
) |
GenericParameters
- TElement
The class of type for the entity to retrieve.
Parameters
- partitionKey
A string containing the partition key of the entity to retrieve.
- rowkey
A string containing the row key of the entity to retrieve.
Return Value
The
TableOperation object.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also