IVsTrackProjectDocumentsEvents2::OnAfterSccStatusChanged Method (Int32, Int32, array<IVsProject^>^, array<Int32>^, array<String^>^, array<UInt32>^)
Visual Studio 2015
This method notifies the client when source control status has changed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int OnAfterSccStatusChanged( int cProjects, int cFiles, array<IVsProject^>^ rgpProjects, array<int>^ rgFirstIndices, array<String^>^ rgpszMkDocuments, array<unsigned int>^ rgdwSccStatus )
Parameters
- cProjects
-
Type:
System::Int32
[in] Number of projects for which source control status has changed.
- cFiles
-
Type:
System::Int32
[in] Number of files.
- rgpProjects
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::IVsProject^>^
[in] Array of projects for which source control status has changed.
- rgFirstIndices
-
Type:
array<System::Int32>^
[in] Array of first indices identifying which project each file belongs to. For more information, see IVsTrackProjectDocumentsEvents2.
- rgpszMkDocuments
-
Type:
array<System::String^>^
[in] Array of file paths.
- rgdwSccStatus
-
Type:
array<System::UInt32>^
[in] Array of status values for each file. Values are taken from the SccStatus enumeration.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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[] );
Show: