次の方法で共有


IVsTrackProjectDocuments4.OnAfterRemoveFilesEx Method

Definition

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

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

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