共用方式為


IVsSccManager2 Members

Include Protected Members
Include Inherited Members

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

The IVsSccManager2 type exposes the following members.

Methods

  Name Description
Public method BrowseForProject Obsolete: returns E_NOTIMPL.
Public method CancelAfterBrowseForProject Obsolete: returns E_NOTIMPL.
Public method GetSccGlyph This method is called by projects to discover the source control glyphs to use on files and the files' source control status; this is the only way to get status.
Public method GetSccGlyphFromStatus This function determines which glyph to display, given a combination of status flags.
Public method IsInstalled This function determines whether the source control package is installed. Source control packages should always return S_OK and pbInstalled = nonzero.
Public method RegisterSccProject This method is called by projects that are under source control when they are first opened to register project settings.
Public method UnregisterSccProject Called by projects registered with the source control portion of the environment before they are closed.

Top

See Also

Reference

IVsSccManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace