Condividi tramite


IVsTrackProjectDocuments4.OnAfterRemoveDirectoriesEx Method

Definition

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

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

Parameters

pProject
IVsProject

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

cDirectories
Int32

[in] Number of directories that were removed.

rgpszMkDocuments
String[]

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

rgFlags
UInt32[]

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

Returns

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

Applies to