Dela via


ResourceManager.GetAllNamedResourcesForPackage Method

Definition

Gets a list of all named resources for an app package.

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

Parameters

packageName
String

Platform::String

winrt::hstring

The name of the app package.

resourceLayoutInfo
ResourceLayoutInfo

Specifies the resource version and the named resource count.

Returns

A list of NamedResource objects.

Applies to