Partager via


IVsTrackProjectDocuments2.OnAfterSccStatusChanged Method

Definition

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

public:
 int OnAfterSccStatusChanged(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <System::UInt32> ^ rgdwSccStatus);
public:
 int OnAfterSccStatusChanged(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <unsigned int> ^ rgdwSccStatus);
int OnAfterSccStatusChanged(Microsoft::VisualStudio::Shell::Interop::IVsProject const & pProject, int cFiles, std::Array <std::wstring const &> const & rgpszMkDocuments, std::Array <unsigned int> const & rgdwSccStatus);
public int OnAfterSccStatusChanged (Microsoft.VisualStudio.Shell.Interop.IVsProject pProject, int cFiles, string[] rgpszMkDocuments, uint[] rgdwSccStatus);
abstract member OnAfterSccStatusChanged : Microsoft.VisualStudio.Shell.Interop.IVsProject * int * string[] * uint32[] -> int
Public Function OnAfterSccStatusChanged (pProject As IVsProject, cFiles As Integer, rgpszMkDocuments As String(), rgdwSccStatus As UInteger()) As Integer

Parameters

pProject
IVsProject

[in] Pointer to the IVsProject interface.

cFiles
Int32

[in] Number of files.

rgpszMkDocuments
String[]

[in, size_is(cFiles)] Array of file paths.

rgdwSccStatus
UInt32[]

[in, size_is(cFiles)] 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 IVsTrackProjectDocuments2.idl

HRESULT IVsTrackProjectDocuments2::OnAfterSccStatusChanged(  
   [in] IVsProject *pProject,  
   [in] int cFiles,  
   [in, size_is(cFiles)] const LPCOLESTR rgpszMkDocuments[],  
   [in, size_is(cFiles)] const DWORD rgdwSccStatus[]  
);  

The Source Control Stub calls this method directly to inform listeners that source control status has changed. For example, this notification can be used to find out when glyph changes are required. This notification is for listeners other than the project system, which receives notification of changes through IVsSccProject2.

Applies to