ResourceManager.GetAllNamedResourcesForPackage メソッド

定義

アプリ パッケージのすべての名前付きリソースの一覧を取得します。

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)

パラメーター

packageName
String

Platform::String

winrt::hstring

アプリ パッケージの名前。

resourceLayoutInfo
ResourceLayoutInfo

リソースのバージョンと名前付きリソース数を指定します。

戻り値

NamedResource オブジェクトの一覧。

適用対象