ResourceLoader.GetForViewIndependentUse ResourceLoader.GetForViewIndependentUse ResourceLoader.GetForViewIndependentUse ResourceLoader.GetForViewIndependentUse ResourceLoader.GetForViewIndependentUse Method

Definition

Overloads

GetForViewIndependentUse() GetForViewIndependentUse() GetForViewIndependentUse() GetForViewIndependentUse() GetForViewIndependentUse()

Gets a ResourceLoader object 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.

GetForViewIndependentUse(String) GetForViewIndependentUse(String) GetForViewIndependentUse(String) GetForViewIndependentUse(String) GetForViewIndependentUse(String)

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

GetForViewIndependentUse() GetForViewIndependentUse() GetForViewIndependentUse() GetForViewIndependentUse() GetForViewIndependentUse()

Gets a ResourceLoader object 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.

public : static ResourceLoader GetForViewIndependentUse()
static ResourceLoader GetForViewIndependentUse() const;
public static ResourceLoader GetForViewIndependentUse()
Public Shared Function GetForViewIndependentUse() As ResourceLoader
var resourceLoader = Windows.ApplicationModel.Resources.ResourceLoader.getForViewIndependentUse();

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.

See also

GetForViewIndependentUse(String) GetForViewIndependentUse(String) GetForViewIndependentUse(String) GetForViewIndependentUse(String) GetForViewIndependentUse(String)

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

public : static ResourceLoader GetForViewIndependentUse(Platform::String name)
static ResourceLoader GetForViewIndependentUse(winrt::hstring name) const;
public static ResourceLoader GetForViewIndependentUse(String name)
Public Shared Function GetForViewIndependentUse(name As String) As ResourceLoader
var resourceLoader = Windows.ApplicationModel.Resources.ResourceLoader.getForViewIndependentUse(name);

Parameters

name
String String String

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.

See also