ResourceIndexer.IndexFilePath(Uri) Method

Definition

Indexes a file path for file and folder naming conventions.

public:
 virtual IndexedResourceCandidate ^ IndexFilePath(Uri ^ filePath) = IndexFilePath;
IndexedResourceCandidate IndexFilePath(Uri const& filePath);
/// [Windows.Foundation.Metadata.Deprecated("Use IndexFilePath in mrmsupport.dll instead of IResourceIndexer.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.Resources.Management.ResourceIndexerContract")]
IndexedResourceCandidate IndexFilePath(Uri const& filePath);
public IndexedResourceCandidate IndexFilePath(System.Uri filePath);
[Windows.Foundation.Metadata.Deprecated("Use IndexFilePath in mrmsupport.dll instead of IResourceIndexer.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.Resources.Management.ResourceIndexerContract")]
public IndexedResourceCandidate IndexFilePath(System.Uri filePath);
function indexFilePath(filePath)
Public Function IndexFilePath (filePath As Uri) As IndexedResourceCandidate

Parameters

filePath
Uri Uri

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.

Returns

An IndexedResourceCandidate object that represents the indexed file resource.

Attributes

Applies to