IDataServiceMetadataProvider.TryResolveResourceSet Method
Tries to get a resource set based on the specified name.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Function TryResolveResourceSet ( _
name As String, _
<OutAttribute> ByRef resourceSet As ResourceSet _
) As Boolean
'Usage
Dim instance As IDataServiceMetadataProvider
Dim name As String
Dim resourceSet As ResourceSet
Dim returnValue As Boolean
returnValue = instance.TryResolveResourceSet(name, _
resourceSet)
bool TryResolveResourceSet(
string name,
out ResourceSet resourceSet
)
bool TryResolveResourceSet(
String^ name,
[OutAttribute] ResourceSet^% resourceSet
)
abstract TryResolveResourceSet :
name:string *
resourceSet:ResourceSet byref -> bool
function TryResolveResourceSet(
name : String,
resourceSet : ResourceSet
) : boolean
Parameters
- name
Type: System.String
Name of the ResourceSet to resolve.
- resourceSet
Type: System.Data.Services.Providers.ResourceSet%
Returns the resource set or a nulla null reference (Nothing in Visual Basic) value if a resource set with the given name is not found.
Return Value
Type: System.Boolean
true when resource set with the given name is found; otherwise false.