共用方式為


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

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

Remarks

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