ResourceManager.IsResourceReference(String) メソッド

定義

指定された文字列がリソース参照形式 (ms-resource 文字列 URI 識別子) と一致するかどうかを判断します。

public:
 static bool IsResourceReference(Platform::String ^ resourceReference);
 static bool IsResourceReference(winrt::hstring const& resourceReference);
public static bool IsResourceReference(string resourceReference);
function isResourceReference(resourceReference)
Public Shared Function IsResourceReference (resourceReference As String) As Boolean

パラメーター

resourceReference
String

Platform::String

winrt::hstring

一致させる文字列。

戻り値

Boolean

bool

true 文字列が一致する場合は 。それ以外の場合は false

注釈

ms-resource 文字列 URI 識別子の形式と一致する例: isResourceReference('ms-resource:Hello') は を true返しますが、 isResourceReference('Hello') は を返します false

適用対象