注册 VSPackage 项类型环境。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)
语法
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")> _
Public Interface IVsRegisterProjectTypes
[InterfaceTypeAttribute()]
[GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")]
public interface IVsRegisterProjectTypes
IVsRegisterProjectTypes 类型公开以下成员。
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
RegisterProjectType | 注册项类型。 |
![]() |
UnregisterProjectType | 注销项类型。 |
页首
备注
IVsRegisterProjectTypes 接口与服务, SVsRegisterProjectTypes。
对实现者的说明
RegisterProjectType 在 IVsPackage 通常称为:: SetSite;UnregisterProjectType 在 IVsPackage 调用:: 关闭。
对调用者的说明
.gif)