Share via


IVsTrackProjectDocuments2.OnAfterSccStatusChanged Method

This method is called by the Source Control Stub to inform listeners that source control status has changed. Do not call this method.

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

Syntax

'Declaration
Function OnAfterSccStatusChanged ( _
    pProject As IVsProject, _
    cFiles As Integer, _
    rgpszMkDocuments As String(), _
    rgdwSccStatus As UInteger() _
) As Integer
int OnAfterSccStatusChanged(
    IVsProject pProject,
    int cFiles,
    string[] rgpszMkDocuments,
    uint[] rgdwSccStatus
)
int OnAfterSccStatusChanged(
    [InAttribute] IVsProject^ pProject, 
    [InAttribute] int cFiles, 
    [InAttribute] array<String^>^ rgpszMkDocuments, 
    [InAttribute] array<unsigned int>^ rgdwSccStatus
)
abstract OnAfterSccStatusChanged : 
        pProject:IVsProject * 
        cFiles:int * 
        rgpszMkDocuments:string[] * 
        rgdwSccStatus:uint32[] -> int 
function OnAfterSccStatusChanged(
    pProject : IVsProject, 
    cFiles : int, 
    rgpszMkDocuments : String[], 
    rgdwSccStatus : uint[]
) : int

Parameters

  • rgpszMkDocuments
    Type: array<System.String[]
    [in, size_is(cFiles)] Array of file paths.
  • rgdwSccStatus
    Type: array<System.UInt32[]
    [in, size_is(cFiles)] Array of status values for each file. Values are taken from the SccStatus enumeration.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From IVsTrackProjectDocuments2.idl

HRESULT IVsTrackProjectDocuments2::OnAfterSccStatusChanged(
   [in] IVsProject *pProject,
   [in] int cFiles,
   [in, size_is(cFiles)] const LPCOLESTR rgpszMkDocuments[],
   [in, size_is(cFiles)] const DWORD rgdwSccStatus[]
);

The Source Control Stub calls this method directly to inform listeners that source control status has changed. For example, this notification can be used to find out when glyph changes are required. This notification is for listeners other than the project system, which receives notification of changes through IVsSccProject2.

.NET Framework Security

See Also

Reference

IVsTrackProjectDocuments2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace