ResourceManager.IsResourceReference | isResourceReference method

Applies to Windows and Windows Phone

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

Syntax


var boolean = Windows.ApplicationModel.Resources.Core.ResourceManager.isResourceReference(resourceReference);

Parameters

resourceReference

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The string you want to match.

Return value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadata

Windows.winmd

See also

ResourceManager

 

 

Show:
© 2014 Microsoft