ResourceManager.GetAllNamedResourcesForPackage Metodo

Definizione

Ottiene un elenco di tutte le risorse denominate per un pacchetto dell'app.

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)

Parametri

packageName
String

Platform::String

winrt::hstring

Nome del pacchetto dell'app.

resourceLayoutInfo
ResourceLayoutInfo

Specifica la versione della risorsa e il conteggio delle risorse denominato.

Restituisce

Elenco di oggetti NamedResource .

Si applica a