Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.22 KB

resourcemap_trygetsubtree_1461803794.md

File metadata and controls

35 lines (19 loc) · 1.22 KB
-api-id -api-type
M:Microsoft.Windows.ApplicationModel.Resources.ResourceMap.TryGetSubtree(System.String)
winrt method

Microsoft.Windows.ApplicationModel.Resources.ResourceMap.TryGetSubtree(System.String)

-description

Tries to find a ResourceMap that represents a part of another ResourceMap, typically used to access a particular resource file within an app package.

This method finds subtree, ancestor, sibling and cousin maps to this resource map, as well as top-level maps. It returns the resource map represented by a given resource map identifier, relative to this resource map. This method is typically used to make simpler references to a particular subset of resources, such as a single resource file, or a directory of files.

-parameters

-param reference

A resource map identifier that identifies the root of the new subtree. For details, see the remarks for ResourceMap class.

-returns

The subtree ResourceMap. If the specified resource map identifier is not found, this method returns null.

-remarks

-see-also

-examples