Share via


ResourceIdUtility.GetResourceType(String, Boolean) Method

Definition

Gets a resource type

public static string GetResourceType (string resourceId, bool includeProviderNamespace = true);
static member GetResourceType : string * bool -> string
Public Shared Function GetResourceType (resourceId As String, Optional includeProviderNamespace As Boolean = true) As String

Parameters

resourceId
String

The resource Id.

includeProviderNamespace
Boolean

Indicates if the provider namespace should be included in the resource name.

Returns

Applies to