IVsTrackProjectDocuments2::OnAfterSccStatusChanged Method (IVsProject^, Int32, array<String^>^, array<UInt32>^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int OnAfterSccStatusChanged(
	IVsProject^ pProject,
	int cFiles,
	array<String^>^ rgpszMkDocuments,
	array<unsigned int>^ rgdwSccStatus
)

Parameters

pProject
Type: Microsoft.VisualStudio.Shell.Interop::IVsProject^

[in] Pointer to the IVsProject interface.

cFiles
Type: System::Int32

[in] Number of files.

rgpszMkDocuments
Type: array<System::String^>^

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

rgdwSccStatus
Type: array<System::UInt32>^

[in, size_is(cFiles)] Array of status values for each file. Values are taken from the SccStatus enumeration.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.

Return to top
Show: