ResourceIndexer ResourceIndexer ResourceIndexer ResourceIndexer Class

Definition

Indexes source resource files or containers, and generates named resource candidates using particular file and folder naming conventions.

Important

You can't use this class in a UWP app.

public : sealed class ResourceIndexer : IResourceIndexer
struct winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer : IResourceIndexer
public sealed class ResourceIndexer : IResourceIndexer
Public NotInheritable Class ResourceIndexer Implements IResourceIndexer
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Resources.Management.ResourceIndexerContract (introduced v1)

Remarks

ResourceIndexer does not guarantee parity of discovered resource candidates with MakePRI.exe because MakePRI may have arbitrary configurations.

Constructors

ResourceIndexer(Uri) ResourceIndexer(Uri) ResourceIndexer(Uri) ResourceIndexer(Uri)

Creates a new ResourceIndexer specifying the root of the project files.

ResourceIndexer(Uri, Uri) ResourceIndexer(Uri, Uri) ResourceIndexer(Uri, Uri) ResourceIndexer(Uri, Uri)

Creates a new ResourceIndexer specifying the root of the project files and an extension DLL.

Methods

IndexFileContentsAsync(Uri) IndexFileContentsAsync(Uri) IndexFileContentsAsync(Uri) IndexFileContentsAsync(Uri)

Indexes a ResW, ResJSON, PRI, or PRI XML dump file path for file and folder naming conventions, and applies the qualifiers to the resources found within the contents of the file.

IndexFilePath(Uri) IndexFilePath(Uri) IndexFilePath(Uri) IndexFilePath(Uri)

Indexes a file path for file and folder naming conventions.