ResourceManager.GetAllSubtreesForPackage(String, ResourceLayoutInfo) 方法

定义

获取应用包的所有资源子树集合的列表。

public:
 virtual IVectorView<ResourceMap ^> ^ GetAllSubtreesForPackage(Platform::String ^ packageName, ResourceLayoutInfo resourceLayoutInfo) = GetAllSubtreesForPackage;
IVectorView<ResourceMap> GetAllSubtreesForPackage(winrt::hstring const& packageName, ResourceLayoutInfo const& resourceLayoutInfo);
public IReadOnlyList<ResourceMap> GetAllSubtreesForPackage(string packageName, ResourceLayoutInfo resourceLayoutInfo);
function getAllSubtreesForPackage(packageName, resourceLayoutInfo)
Public Function GetAllSubtreesForPackage (packageName As String, resourceLayoutInfo As ResourceLayoutInfo) As IReadOnlyList(Of ResourceMap)

参数

packageName
String

Platform::String

winrt::hstring

应用包的名称。

resourceLayoutInfo
ResourceLayoutInfo

指定资源版本和资源子树计数。

返回

) resourceMap 对象 (资源子树的列表。

适用于