Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ResourceIndexer.IndexFilePath method

Indexes a file path for file and folder naming conventions.

Syntax


public IndexedResourceCandidate IndexFilePath(
  Uri filePath
)

Parameters

filePath

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

The file to be indexed (file:// URI). The path must be an absolute path with the drive letter specified. The Uri can also provide an empty authority which is assumed to be the local file system. Long file paths are not supported.

Return value

Type: IndexedResourceCandidate

An IndexedResourceCandidate object that represents the indexed file resource.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.ApplicationModel.Resources.Management.ResourceIndexerContract, introduced version 1.0

Namespace

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

Metadata

Windows.ApplicationModel.Resources.Management.ResourceIndexerContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

ResourceIndexer

 

 

Show:
© 2015 Microsoft