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.

C++/CX
public:
 int OnAfterSccStatusChanged(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <unsigned int> ^ rgdwSccStatus);

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

cpp#
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

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022