Condividi tramite


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged Method

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

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function OnAfterSccStatusChanged ( _
    cProjects As Integer, _
    cFiles As Integer, _
    rgpProjects As IVsProject(), _
    rgFirstIndices As Integer(), _
    rgpszMkDocuments As String(), _
    rgdwSccStatus As UInteger() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged
int IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(
    int cProjects,
    int cFiles,
    IVsProject[] rgpProjects,
    int[] rgFirstIndices,
    string[] rgpszMkDocuments,
    uint[] rgdwSccStatus
)
private:
virtual int OnAfterSccStatusChanged(
    int cProjects, 
    int cFiles, 
    array<IVsProject^>^ rgpProjects, 
    array<int>^ rgFirstIndices, 
    array<String^>^ rgpszMkDocuments, 
    array<unsigned int>^ rgdwSccStatus
) sealed = IVsTrackProjectDocumentsEvents2::OnAfterSccStatusChanged
private abstract OnAfterSccStatusChanged : 
        cProjects:int * 
        cFiles:int * 
        rgpProjects:IVsProject[] * 
        rgFirstIndices:int[] * 
        rgpszMkDocuments:string[] * 
        rgdwSccStatus:uint32[] -> int  
private override OnAfterSccStatusChanged : 
        cProjects:int * 
        cFiles:int * 
        rgpProjects:IVsProject[] * 
        rgFirstIndices:int[] * 
        rgpszMkDocuments:string[] * 
        rgdwSccStatus:uint32[] -> int
JScript does not support explicit interface implementations.

Parameters

  • cProjects
    Type: Int32

    The number of projects in the rgpProjects array.

  • cFiles
    Type: Int32

    The number of files affected.

  • rgFirstIndices
    Type: array<Int32[]

    An array of the indices of the files.

  • rgpszMkDocuments
    Type: array<String[]

    An array of paths of the files.

  • rgdwSccStatus
    Type: array<UInt32[]

    An array of SccStatus flags. May be nulla null reference (Nothing in Visual Basic).

Return Value

Type: Int32
S_OK.

Implements

IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, array<IVsProject[], array<Int32[], array<String[], array<UInt32[])

Remarks

Events are filtered so that they report only those related to this project. This is not required for flavoring, but it simplifies the work the derived classes have to do when subscribing to these events.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace