Edit

Share via


IDataServiceQueryProvider.GetResourceType(Object) Method

Definition

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

public:
 System::Data::Services::Providers::ResourceType ^ GetResourceType(System::Object ^ target);
public System.Data.Services.Providers.ResourceType GetResourceType (object target);
abstract member GetResourceType : obj -> System.Data.Services.Providers.ResourceType
Public Function GetResourceType (target As Object) As ResourceType

Parameters

target
Object

Instance to extract a resource type from.

Returns

The ResourceType of the supplied object.

Remarks

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

Applies to