Condividi tramite


Metodo IDataServiceQueryProvider.GetResourceType

Ottiene il tipo di risorsa per l'istanza specificata dal parametro.

Spazio dei nomi  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Sintassi

'Dichiarazione
Function GetResourceType ( _
    target As Object _
) As ResourceType
'Utilizzo
Dim instance As IDataServiceQueryProvider
Dim target As Object
Dim returnValue As ResourceType

returnValue = instance.GetResourceType(target)
ResourceType GetResourceType(
    Object target
)
ResourceType^ GetResourceType(
    Object^ target
)
abstract GetResourceType : 
        target:Object -> ResourceType 
function GetResourceType(
    target : Object
) : ResourceType

Parametri

  • target
    Tipo: System.Object
    Istanza dalla quale estrarre un tipo di risorsa.

Valore restituito

Tipo: System.Data.Services.Providers.ResourceType
ResourceType dell'oggetto fornito.

Osservazioni

Restituisce True se l'istanza specificata rappresenta una raccolta. In caso contrario restituisce False.

Vedere anche

Riferimento

IDataServiceQueryProvider Interfaccia

Spazio dei nomi System.Data.Services.Providers