IDataServiceQueryProvider.GetResourceType Method (Object)


Gets the resource type for the instance that is specified by the parameter.

Namespace:   System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)

ResourceType GetResourceType(
	object target


Type: System.Object

Instance to extract a resource type from.

Return Value

Type: System.Data.Services.Providers.ResourceType

The ResourceType of the supplied object.

Returns true if the given instance represents a collection; otherwise returns false.

.NET Framework
Available since 3.5
Return to top