共用方式為


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged Method

Definition

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

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(int cProjects, int cFiles, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, cli::array <int> ^ rgFirstIndices, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <System::UInt32> ^ rgdwSccStatus) = Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2::OnAfterSccStatusChanged;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(int cProjects, int cFiles, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, Platform::Array <int> ^ rgFirstIndices, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <unsigned int> ^ rgdwSccStatus) = Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2::OnAfterSccStatusChanged;
int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(int cProjects, int cFiles, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsProject const &> const & rgpProjects, std::Array <int> const & rgFirstIndices, std::Array <std::wstring const &> const & rgpszMkDocuments, std::Array <unsigned int> const & rgdwSccStatus);
int IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged (int cProjects, int cFiles, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, uint[] rgdwSccStatus);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * uint32[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * uint32[] -> int
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

Parameters

cProjects
Int32

The number of projects in the rgpProjects array.

cFiles
Int32

The number of files affected.

rgpProjects
IVsProject[]

An array of IVsProject objects, corresponding to the projects in the solution.

rgFirstIndices
Int32[]

An array of the indices of the files.

rgpszMkDocuments
String[]

An array of paths of the files.

rgdwSccStatus
UInt32[]

An array of SccStatus flags. May be null.

Returns

Microsoft.VisualStudio.NativeMethods.S_OK.

Implements

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.

Applies to