IVsTrackProjectDocuments4.OnAfterRemoveFilesEx Method

Definition

Called by a project after files have been removed from the project.

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

Parameters

pProject
IVsProject

[in] Project from which the files have been removed.

cFiles
Int32

[in] Number of files that were removed.

rgpszMkDocuments
String[]

[in, size_is(cFiles)] Array of paths for the files that were removed.

rgFlags
UInt32[]

[in, size_is(cFiles)] Array of flags. For a list of rgFlags values, see __VSREMOVEFILEFLAGS2.

Returns

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

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022