TableQuery.Select Method

Windows Runtime Azure Storage Client Library

Defines the property names of the table entity properties to return when the table query is executed.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As TableQuery(Of TElement)
Dim columns As IList(Of String)
Dim returnValue As TableQuery(Of TElement)

returnValue = instance.Select(columns)

Syntax

Visual Basic
Public Function Select ( _
	columns As IList(Of String) _
) As TableQuery(Of TElement)
C#
public TableQuery<TElement> Select (
	IList<string> columns
)
C++
public:
TableQuery<TElement>^ Select (
	IList<String^>^ columns
)
J#
public TableQuery<TElement> Select (
	IList<String> columns
)
JScript
public function Select (
	columns : IList<String>
) : TableQuery<TElement>

Parameters

columns

A list of string objects containing the property names of the table entity properties to return when the query is executed.

Return Value

A TableQuery instance set with the table entity properties to return.

Remarks

The select clause is optional on a table query, and is used to limit the table properties returned from the server. By default, a query will return all properties from the table entity.


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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also