IDataServiceMetadataProvider.TryResolveResourceType Method (String, ResourceType)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

abstract TryResolveResourceType : 
        name:string *
        resourceType:ResourceType byref -> bool

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.

.NET Framework
Available since 3.5
Return to top
Show: