IVsSccProvider 接口

切换提供者的现时活动状态。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("49440575-E33C-4169-9735-F3FD5AE54D8D")> _
Public Interface IVsSccProvider
[InterfaceTypeAttribute()]
[GuidAttribute("49440575-E33C-4169-9735-F3FD5AE54D8D")]
public interface IVsSccProvider

IVsSccProvider 类型公开以下成员。

方法

  名称 说明
公共方法 AnyItemsUnderSourceControl 确定在解决方案中的项是否受源代码管理。
公共方法 SetActive 调用由环境标记特定源代码管理包为活动分配。
公共方法 SetInactive 调用由环境标记特定源代码管理包为非活动。

页首

备注

,但若要提供自己的数据源控件包时,第三方 VSIP 成为实现的伙伴此接口。此接口的方法切换提供者的现时活动状态

对实现者的说明

所有源代码管理包需要此接口。

对调用者的说明

调用通过环境。

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间