Share via


IMediaDataServiceContext.CreateQuery<T> Method

Creates a data service query for data of a specified generic type.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Function CreateQuery(Of T) ( _
    entitySetName As String _
) As DataServiceQuery(Of T)
'Usage
Dim instance As IMediaDataServiceContext 
Dim entitySetName As String 
Dim returnValue As DataServiceQuery(Of T)

returnValue = instance.CreateQuery(entitySetName)
DataServiceQuery<T> CreateQuery<T>(
    string entitySetName
)
generic<typename T>
DataServiceQuery<T>^ CreateQuery(
    String^ entitySetName
)
abstract CreateQuery : 
        entitySetName:string -> DataServiceQuery<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T
    The type returned by the query.

Parameters

  • entitySetName
    Type: System.String
    A string that resolves to a URI.

Return Value

Type: System.Data.Services.Client.DataServiceQuery<T>
Returns DataServiceQuery<TElement>.

See Also

Reference

IMediaDataServiceContext Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace