IDataServiceMetadataProvider.TryResolveResourceSet Method

Definition

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

public:
 bool TryResolveResourceSet(System::String ^ name, [Runtime::InteropServices::Out] System::Data::Services::Providers::ResourceSet ^ % resourceSet);
public bool TryResolveResourceSet (string name, out System.Data.Services.Providers.ResourceSet resourceSet);
abstract member TryResolveResourceSet : string * ResourceSet -> bool
Public Function TryResolveResourceSet (name As String, ByRef resourceSet As ResourceSet) As Boolean

Parameters

name
String

Name of the ResourceSet to resolve.

resourceSet
ResourceSet

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

Returns

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

Applies to