Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.44 KB

resourceloader_getstringforreference_421352214.md

File metadata and controls

31 lines (22 loc) · 1.44 KB
-api-id -api-type
M:Windows.ApplicationModel.Resources.ResourceLoader.GetStringForReference(Windows.Foundation.Uri)
winrt method

Windows.ApplicationModel.Resources.ResourceLoader.GetStringForReference

-description

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.

-parameters

-param uri

A Uri that represents the resource to be retrieved.

-returns

The most appropriate string value of the specified resource for the default ResourceContext.

-remarks

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.

-examples

-see-also

ResourceContext, Localize strings in your UI and app package manifest