IDataServiceQueryProvider.GetResourceType(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.