Export (0) Print
Expand All

IDataServiceMetadataProvider.TryResolveResourceType Method

Tries to get a resource type based on the specified name.

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

bool TryResolveResourceType(
	string name,
	out ResourceType resourceType
)

Parameters

name
Type: System.String
Name of the type to resolve.
resourceType
Type: System.Data.Services.Providers.ResourceType
Returns the resource type or a null value if a resource type with the given name is not found.

Return Value

Type: System.Boolean
true when resource type with the given name is found; otherwise false.
Show:
© 2014 Microsoft