ResourceManager.LoadPriFiles | loadPriFiles method

Applies to Windows and Windows Phone

Loads one or more PRI files and adds their contents to the default resource manager.

Syntax


Public Sub LoadPriFiles(
  files As IEnumerable(Of IStorageFile) 
)

Parameters

files

Type: IIterable<IStorageFile> [JavaScript/C++] | System.Collections.Generic.IEnumerable<IStorageFile> [.NET]

The files you want to add.

Remarks

The LoadPRIFiles method accepts files only from inside the app package or dependent packages. See How to load string resources.

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadata

Windows.winmd

See also

ResourceManager
How to load string resources

 

 

Show:
© 2014 Microsoft