IIndexWorkspaceService2 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public interface class IIndexWorkspaceService2 : Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService
public interface class IIndexWorkspaceService2 : Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService
__interface IIndexWorkspaceService2 : Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService
public interface IIndexWorkspaceService2 : Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService
type IIndexWorkspaceService2 = interface
interface IIndexWorkspaceService
Public Interface IIndexWorkspaceService2
Implements IIndexWorkspaceService
- 派生
-
- 实现
-
属性
方法
|
EntityExists(String)
|
验证路径是否是此索引的一部分
(继承自 IIndexWorkspaceService)
|
|
FindFileReferencesAsync(String, CancellationToken, String, String, Int32[])
|
使用模式匹配查找文件引用中的文件
|
|
GetAllFiles()
|
获取已编制索引的所有文件
(继承自 IIndexWorkspaceService)
|
|
GetDependentFilesAsync(String, String, String, Int32[])
|
返回工作区中包含的文件上的依赖文件
(继承自 IIndexWorkspaceService)
|
|
GetFileDataValuesAsync<T>(String, Guid, Boolean, CancellationToken, String, String)
|
从文件系统实体返回数据的可枚举
(继承自 IIndexWorkspaceService)
|
|
GetFileReferencesAsync(IEnumerable<String>, CancellationToken)
|
返回一组文件实体的 FileReferences
|
|
GetFileReferencesAsync(String, Boolean, CancellationToken, String, String, Int32[])
|
返回对工作区中包含的文件的文件引用
(继承自 IIndexWorkspaceService)
|
|
GetFilesAsync(String, CancellationToken)
|
从具有模式匹配的实体获取文件
(继承自 IIndexWorkspaceService)
|
|
GetFileScannerCacheAsync(IEnumerable<String>, CancellationToken)
|
返回多个文件扫描程序缓存
|
|
GetFileScannerCacheAsync(String, CancellationToken)
|
返回文件实体的文件扫描器缓存
|
|
GetFileScannerState(String, FileScannerType)
|
获取文件扫描器状态类型
(继承自 IIndexWorkspaceService)
|
|
GetFilesDataValuesAsync<T>(Guid, CancellationToken, String, String)
|
返回多个文件的数据字典
(继承自 IIndexWorkspaceService)
|
|
GetSettingsValue<T>(String)
|
获取设置值
(继承自 IIndexWorkspaceService)
|
|
InvalidateFileScannerCache()
|
使所有文件扫描器缓存失效
(继承自 IIndexWorkspaceService)
|
|
IsProviderUpToDateAsync(String, FileScannerEntityCache, CancellationToken)
|
检查实体是否有文件扫描器类型最新
|
|
PurgeFileScannerData(String, Guid)
|
清除文件实体的数据
(继承自 IIndexWorkspaceService)
|
|
PurgeFileScannerDataForProvider(Guid)
|
清除提供程序生成的所有数据
(继承自 IIndexWorkspaceService)
|
|
PushEntityDataAsync(String, Guid, IndexEntityData, CancellationToken)
|
将数据推送到索引服务
|
|
RefreshElementsAsync(IEnumerable<String>, IndexElement, CancellationToken)
|
刷新元素
(继承自 IIndexWorkspaceService)
|
|
RefreshElementsAsync(IndexElement, Boolean, IProgress<IndexProgress>, CancellationToken, PauseToken)
|
用磁盘中的实际内容刷新任何缓存或订阅的内容。
(继承自 IIndexWorkspaceService)
|
|
SetSettingsValue(String, Object)
|
设置设置值
(继承自 IIndexWorkspaceService)
|
扩展方法
|
GetValuesByContextAsync<T>(IIndexWorkspaceService, String, Guid, Boolean, CancellationToken, String)
|
使用上下文作为键将数据值作为字典检索
|
|
GetValuesByNameAsync<T>(IIndexWorkspaceService, String, Guid, Boolean, CancellationToken, String, String)
|
检索数据值作为字典数据
|
|
RefreshElementAsync(IIndexWorkspaceService, String, IndexElement, CancellationToken)
|
刷新元素
|
适用于