ResourceManager.IsResourceReference(String) 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.
Determines whether a supplied string matches the resource reference format (an ms-resource string URI identifier).
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
Parameters
- resourceReference
-
String
Platform::String
winrt::hstring
The string you want to match.
Returns
bool
true
if the string matches; otherwise, false
.
Remarks
An example of matching an ms-resource string URI identifier format: isResourceReference('ms-resource:Hello')
returns true
, but isResourceReference('Hello')
returns false
.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin