ResourceIndexer.IndexFilePath(Uri) 方法

定义

为文件和文件夹命名约定的文件路径编制索引。

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

参数

filePath
Uri Uri

要 (file:// URI) 编制索引的文件。 该路径必须是指定了驱动器号的绝对路径。 Uri 还可以提供假定为本地文件系统的空颁发机构。 不支持长文件路径。

返回

一个 IndexedResourceCandidate 对象,该对象表示索引文件资源。

属性

适用于