次の方法で共有


IVsSccManager2 Interface

Allows projects and hierarchies to register themselves with source control and obtain information on source control status.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("53544C4D-B927-4320-B9DA-13D2CB3EA93B")> _
Public Interface IVsSccManager2
'使用
Dim instance As IVsSccManager2
[InterfaceTypeAttribute()]
[GuidAttribute("53544C4D-B927-4320-B9DA-13D2CB3EA93B")]
public interface IVsSccManager2
[InterfaceTypeAttribute()]
[GuidAttribute(L"53544C4D-B927-4320-B9DA-13D2CB3EA93B")]
public interface class IVsSccManager2
public interface IVsSccManager2

Remarks

See illustrations of the implementation and/or calling of this interface in the samples Basic Project, Figures Project, and My C Package.

Notes to Implementers:

This interface is implemented by both the source control management portion of the environment and source control packages (the environment forwards all calls to the source control package after making sure the package is loaded). It is a required interface.

Notes to Callers:

This interface is called by projects to register with a source control package and thereby indicate that the project wants source control.

See Also

Reference

IVsSccManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace