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)

Syntax

'Declaration
Function TryResolveResourceType ( _
    name As String, _
    <OutAttribute> ByRef resourceType As ResourceType _
) As Boolean
'Usage
Dim instance As IDataServiceMetadataProvider 
Dim name As String 
Dim resourceType As ResourceType 
Dim returnValue As Boolean 

returnValue = instance.TryResolveResourceType(name, _
    resourceType)
bool TryResolveResourceType(
    string name,
    out ResourceType resourceType
)
bool TryResolveResourceType(
    String^ name, 
    [OutAttribute] ResourceType^% resourceType
)
abstract TryResolveResourceType : 
        name:string * 
        resourceType:ResourceType byref -> bool
function TryResolveResourceType(
    name : String, 
    resourceType : ResourceType
) : boolean

Parameters

Return Value

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

See Also

Reference

IDataServiceMetadataProvider Interface

System.Data.Services.Providers Namespace