Sdílet prostřednictvím


IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged Method

Definition

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

public:
 int 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);
public:
 int 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);
int 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);
public int OnAfterSccStatusChanged (int cProjects, int cFiles, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, uint[] rgdwSccStatus);
abstract member OnAfterSccStatusChanged : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * uint32[] -> int
Public Function OnAfterSccStatusChanged (cProjects As Integer, cFiles As Integer, rgpProjects As IVsProject(), rgFirstIndices As Integer(), rgpszMkDocuments As String(), rgdwSccStatus As UInteger()) As Integer

Parameters

cProjects
Int32

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

cFiles
Int32

[in] Number of files.

rgpProjects
IVsProject[]

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

rgFirstIndices
Int32[]

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

rgpszMkDocuments
String[]

[in] Array of file paths.

rgdwSccStatus
UInt32[]

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

Returns

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[]  
);  

Applies to