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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.