Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.77 KB

resourceloader_getforviewindependentuse_1317372352.md

File metadata and controls

30 lines (21 loc) · 1.77 KB
-api-id -api-type
M:Windows.ApplicationModel.Resources.ResourceLoader.GetForViewIndependentUse(System.String)
winrt method

Windows.ApplicationModel.Resources.ResourceLoader.GetForViewIndependentUse

-description

Gets a ResourceLoader object for the specified ResourceMap. This ResourceLoader uses a default context that's not associated with any view.

-parameters

-param name

The resource identifier of the ResourceMap that the new resource loader uses for unqualified resource references. The loader can then retrieve resources relative to those references.

Note

The resource identifier is treated as a Uniform Resource Identifier (URI) fragment, subject to Uniform Resource Identifier (URI) semantics. For example, "Caption%20" is treated as "Caption ". Do not use "?" or "#" in resource identifiers, as they terminate the named resource path. For example, "Foo?3" is treated as "Foo".

-returns

A resource loader for the Resources subtree of the currently running app's main ResourceMap. This ResourceLoader uses a default context that's not associated with any view. You can't use this ResourceLoader to retrieve any resource that has resource candidates qualified for scale.

-remarks

-examples

-see-also

GetForViewIndependentUse