TableOperation.Retrieve Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Retrieve(String, String, List<String>) |
Creates a new table operation that retrieves the contents of the given entity in a table. |
Retrieve<TElement>(String, String, List<String>) |
Creates a new table operation that retrieves the contents of the given entity in a table. |
Retrieve<TResult>(String, String, EntityResolver<TResult>, List<String>) |
Creates a new table operation that retrieves the contents of the given entity in a table. |
Retrieve(String, String, List<String>)
Creates a new table operation that retrieves the contents of the given entity in a table.
public static Microsoft.Azure.Cosmos.Table.TableOperation Retrieve (string partitionKey, string rowkey, System.Collections.Generic.List<string> selectedColumns = default);
static member Retrieve : string * string * System.Collections.Generic.List<string> -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function Retrieve (partitionKey As String, rowkey As String, Optional selectedColumns As List(Of String) = Nothing) As TableOperation
Parameters
- partitionKey
- String
A string containing the partition key of the entity to be retrieved.
- rowkey
- String
A string containing the row key of the entity to be retrieved.
Returns
The TableOperation object.
Applies to
Retrieve<TElement>(String, String, List<String>)
Creates a new table operation that retrieves the contents of the given entity in a table.
public static Microsoft.Azure.Cosmos.Table.TableOperation Retrieve<TElement> (string partitionKey, string rowkey, System.Collections.Generic.List<string> selectColumns = default) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity;
static member Retrieve : string * string * System.Collections.Generic.List<string> -> Microsoft.Azure.Cosmos.Table.TableOperation (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity)
Public Shared Function Retrieve(Of TElement As ITableEntity) (partitionKey As String, rowkey As String, Optional selectColumns As List(Of String) = Nothing) As TableOperation
Type Parameters
- TElement
The class of type for the entity to retrieve.
Parameters
- partitionKey
- String
A string containing the partition key of the entity to retrieve.
- rowkey
- String
A string containing the row key of the entity to retrieve.
Returns
The TableOperation object.
Applies to
Retrieve<TResult>(String, String, EntityResolver<TResult>, List<String>)
Creates a new table operation that retrieves the contents of the given entity in a table.
public static Microsoft.Azure.Cosmos.Table.TableOperation Retrieve<TResult> (string partitionKey, string rowkey, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, System.Collections.Generic.List<string> selectedColumns = default);
static member Retrieve : string * string * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * System.Collections.Generic.List<string> -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function Retrieve(Of TResult) (partitionKey As String, rowkey As String, resolver As EntityResolver(Of TResult), Optional selectedColumns As List(Of String) = Nothing) As TableOperation
Type Parameters
- TResult
The return type which the specified EntityResolver<T> will resolve the given entity to.
Parameters
- partitionKey
- String
A string containing the partition key of the entity to retrieve.
- rowkey
- String
A string containing the row key of the entity to retrieve.
- resolver
- EntityResolver<TResult>
The EntityResolver<T> implementation to project the entity to retrieve as a particular type in the result.
Returns
The TableOperation object.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기