Share via


ResourceManager.GetAllNamedResourcesForPackage Methode

Definition

Ruft eine Liste aller benannten Ressourcen für ein App-Paket ab.

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)

Parameter

packageName
String

Platform::String

winrt::hstring

Der Name des App-Pakets.

resourceLayoutInfo
ResourceLayoutInfo

Gibt die Ressourcenversion und die benannte Ressourcenanzahl an.

Gibt zurück

Eine Liste von NamedResource-Objekten .

Gilt für: