IDataServiceMetadataProvider.TryResolveResourceType Method

Definition

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

C#
public bool TryResolveResourceType(string name, out System.Data.Services.Providers.ResourceType resourceType);

Parameters

name
String

Name of the type to resolve.

resourceType
ResourceType

Returns the resource type or a null value if a resource type with the given name is not found.

Returns

true if the resource type with the given name is found; otherwise, false.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1