ReflectionDataServiceProvider.GetResourceType Method
Gets the ResourceType for the specified target.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Overridable Function GetResourceType ( _
target As Object _
) As ResourceType
'Usage
Dim instance As ReflectionDataServiceProvider
Dim target As Object
Dim returnValue As ResourceType
returnValue = instance.GetResourceType(target)
public virtual ResourceType GetResourceType(
Object target
)
public:
virtual ResourceType^ GetResourceType(
Object^ target
)
abstract GetResourceType :
target:Object -> ResourceType
override GetResourceType :
target:Object -> ResourceType
public function GetResourceType(
target : Object
) : ResourceType
Parameters
- target
Type: System.Object
Target instance to extract a ResourceType from.
Return Value
Type: System.Data.Services.Providers.ResourceType
The ResourceType that describes this target in this provider.
Implements
IDataServiceQueryProvider.GetResourceType(Object)