通过返回可以使用与文件的 IServiceProvider 界面 (ui) 设置文件的 IntelliSense 基础结构。您可以获取接口的实例。 SWebApplicationCtxSvc (SID_SWebApplicationCtxSvc) services。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)
语法
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("CCCECEE2-D225-4294-858E-2B8C3F7D84EA")> _
Public Interface IWebApplicationCtxSvc
[InterfaceTypeAttribute()]
[GuidAttribute("CCCECEE2-D225-4294-858E-2B8C3F7D84EA")]
public interface IWebApplicationCtxSvc
IWebApplicationCtxSvc 类型公开以下成员。
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
GetItemContext | 检索文件的 IServiceProvider 接口。 |
页首
.gif)