IWebFileCtxService 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
准备给定程序集文件的 IntelliSense 基础结构。 可以从 SWebFileCtxService (SID_SWebFileCtxService) 服务获取接口的实例。
public interface class IWebFileCtxService
public interface class IWebFileCtxService
__interface IWebFileCtxService
[System.Runtime.InteropServices.Guid("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IWebFileCtxService
[<System.Runtime.InteropServices.Guid("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IWebFileCtxService = interface
Public Interface IWebFileCtxService
- 属性
方法
| AddDependentAssemblyFile(String) |
将依赖程序集添加到服务。 |
| AddFileToIntellisense(String, UInt32) |
将文件添加到 Intellisense 覆盖区。 |
| CBMCallbackActive() |
指示客户端生成管理器 (CBM) 回调是否处于活动状态。 |
| ConvertToAppRelPath(String, String) |
将路径转换为应用程序相对路径。 |
| EnsureFileOpened(UInt32, IVsWindowFrame) |
按项标识符打开文件。 |
| GetIntellisenseProjectName(String) |
检索此 Intellisense 项目的项目名称。 |
| GetWebRootPath(String) |
检索网站的根路径。 |
| IsDocumentInProject(String, UInt32) |
向项目中添加文件(如果存在)。 |
| RemoveDependentAssemblyFile(String) |
从项目中移除依赖程序集。 方法的反转 AddDependentAssemblyFile(String) 。 |
| RemoveFileFromIntellisense(String) |
从 Intellisense 项目中移除文件。 方法的反转 AddFileToIntellisense(String, UInt32) 。 |
| WaitForIntellisenseReady() |
等待 Intellisense 项目准备好使用。 |