IDataServiceMetadataProvider.TryResolveResourceType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get a resource type based on the specified name.
public:
bool TryResolveResourceType(System::String ^ name, [Runtime::InteropServices::Out] System::Data::Services::Providers::ResourceType ^ % resourceType);
public bool TryResolveResourceType (string name, out System.Data.Services.Providers.ResourceType resourceType);
abstract member TryResolveResourceType : string * ResourceType -> bool
Public Function TryResolveResourceType (name As String, ByRef resourceType As ResourceType) As Boolean
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.