Freigeben über


IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged Method

This method notifies the client when source control status has changed.

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

Syntax

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

Parameters

  • cProjects
    Type: Int32

    [in] Number of projects for which source control status has changed.

  • cFiles
    Type: Int32

    [in] Number of files.

  • rgFirstIndices
    Type: array<Int32[]

    [in] Array of first indices identifying which project each file belongs to. For more information, see IVsTrackProjectDocumentsEvents2.

  • rgpszMkDocuments
    Type: array<String[]

    [in] Array of file paths.

  • rgdwSccStatus
    Type: array<UInt32[]

    [in] Array of status values for each file. Values are taken from the SccStatus enumeration.

Return Value

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

Remarks

COM Signature

From IVsTrackProjectDocumentsEvents2.idl

HRESULT IVsTrackProjectDocumentsEvents2::OnAfterSccStatusChanged(
   [in] int cProjects,
   [in] int cFiles,
   [in, size_is(cProjects)] IVsProject *rgpProjects[],
   [in, size_is(cProjects)] const int rgFirstIndices[],
   [in, size_is(cFiles)] const LPCOLESTR rgpszMkDocuments[],
   [in, size_is(cFiles)] const DWORD rgdwSccStatus[]
);

.NET Framework Security

See Also

Reference

IVsTrackProjectDocumentsEvents2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace