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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.