ResourceManager.IsResourceReference(String) ResourceManager.IsResourceReference(String) ResourceManager.IsResourceReference(String) ResourceManager.IsResourceReference(String) ResourceManager.IsResourceReference(String) Method

Definition

Determines whether a supplied string matches the resource reference format (an ms-resource string URI identifier).

public : static Platform::Boolean IsResourceReference(Platform::String resourceReference)
static bool IsResourceReference(winrt::hstring resourceReference) const;
public static bool IsResourceReference(String resourceReference)
Public Shared Function IsResourceReference(resourceReference As String) As bool
var bool = Windows.ApplicationModel.Resources.Core.ResourceManager.isResourceReference(resourceReference);

Parameters

resourceReference
String String String

The string you want to match.

Returns

bool bool bool

TRUE if the string matches.

Remarks

An example of matching an ms-resource string URI identifier format: isResourceReference('ms-resource:Hello') returns true, but isResourceReference('Hello') returns false.