共用方式為


IVsSccProject2 Interface

Definition

Implemented in a project system to provide source control for project files and project items.

public interface class IVsSccProject2
public interface class IVsSccProject2
__interface IVsSccProject2
[System.Runtime.InteropServices.Guid("53544C4D-AC92-49AC-9172-603E01FA483A")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSccProject2
[System.Runtime.InteropServices.Guid("53544C4D-AC92-49AC-9172-603E01FA483A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSccProject2
[<System.Runtime.InteropServices.Guid("53544C4D-AC92-49AC-9172-603E01FA483A")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSccProject2 = interface
[<System.Runtime.InteropServices.Guid("53544C4D-AC92-49AC-9172-603E01FA483A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSccProject2 = interface
Public Interface IVsSccProject2
Attributes

Notes to Implementers

Implemented by project objects where a project and its project items use source control.

Notes to Callers

This interface is called by the environment.

Methods

GetSccFiles(UInt32, CALPOLESTR[], CADWORD[])

This method is called to determine which files should be placed under source control for a given VSITEMID within this hierarchy.

GetSccSpecialFiles(UInt32, String, CALPOLESTR[], CADWORD[])

This method is called to discover special (hidden files) associated with a given VSITEMID within this hierarchy.

SccGlyphChanged(Int32, UInt32[], VsStateIcon[], UInt32[])

This method is called by the source control portion of the environment to inform the project of changes to the source control glyph on various nodes.

SetSccLocation(String, String, String, String)

This method is called by the source control portion of the environment when a project is initially added to source control, or to change some of the project's settings.

Applies to