Udostępnij za pośrednictwem


ResourceManager.LoadPriFiles(IIterable<IStorageFile>) Method

Definition

Loads one or more Package Resource Index (PRI) files and adds their contents to the default resource manager.

public:
 virtual void LoadPriFiles(IIterable<IStorageFile ^> ^ files) = LoadPriFiles;
void LoadPriFiles(IIterable<IStorageFile> const& files);
public void LoadPriFiles(IEnumerable<IStorageFile> files);
function loadPriFiles(files)
Public Sub LoadPriFiles (files As IEnumerable(Of IStorageFile))

Parameters

files

IIterable<IStorageFile>

IEnumerable<IStorageFile>

The Package Resource Index (PRI) files you want to add.

Remarks

The LoadPRIFiles method accepts files only from inside the app package or dependent packages.

If resource packs are used by an app, this method will always fail.

For more info about PRI files, see Resource Management System.

Applies to

See also