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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.