-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Resources.ResourceLoader.GetStringForReference(Windows.Foundation.Uri) |
winrt method |
Note
GetStringForReference may be altered or unavailable for releases after Windows 8.1. Instead, use GetStringForUri.
Returns the most appropriate string value of a resource, specified as a Uri for a resource identifier, for the default ResourceContext of the currently running app.
A Uri that represents the resource to be retrieved.
The most appropriate string value of the specified resource for the default ResourceContext.
Uri objects require a scheme to be identified. In this context, the ms-resource scheme must be specified in the Uri passed to the method.
ResourceContext, Localize strings in your UI and app package manifest