IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories Method
This method notifies the client when directories have been removed from the project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnAfterRemoveDirectories ( _
cProjects As Integer, _
cDirectories As Integer, _
rgpProjects As IVsProject(), _
rgFirstIndices As Integer(), _
rgpszMkDocuments As String(), _
rgFlags As VSREMOVEDIRECTORYFLAGS() _
) As Integer
int OnAfterRemoveDirectories(
int cProjects,
int cDirectories,
IVsProject[] rgpProjects,
int[] rgFirstIndices,
string[] rgpszMkDocuments,
VSREMOVEDIRECTORYFLAGS[] rgFlags
)
int OnAfterRemoveDirectories(
[InAttribute] int cProjects,
[InAttribute] int cDirectories,
[InAttribute] array<IVsProject^>^ rgpProjects,
[InAttribute] array<int>^ rgFirstIndices,
[InAttribute] array<String^>^ rgpszMkDocuments,
[InAttribute] array<VSREMOVEDIRECTORYFLAGS>^ rgFlags
)
abstract OnAfterRemoveDirectories :
cProjects:int *
cDirectories:int *
rgpProjects:IVsProject[] *
rgFirstIndices:int[] *
rgpszMkDocuments:string[] *
rgFlags:VSREMOVEDIRECTORYFLAGS[] -> int
function OnAfterRemoveDirectories(
cProjects : int,
cDirectories : int,
rgpProjects : IVsProject[],
rgFirstIndices : int[],
rgpszMkDocuments : String[],
rgFlags : VSREMOVEDIRECTORYFLAGS[]
) : int
Parameters
cProjects
Type: Int32[in] Number of projects from which directories were removed.
cDirectories
Type: Int32[in] Number of directories removed.
rgpProjects
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsProject[][in] Array of projects from which directories were removed.
rgFirstIndices
Type: array<Int32[][in] Array of first indices identifying which project each directory belongs to. For more information, see IVsTrackProjectDocumentsEvents2.
rgpszMkDocuments
Type: array<String[][in] Array of paths for the directories that were removed.
rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop.VSREMOVEDIRECTORYFLAGS[][in] Array of flags. For a list of rgFlags values, see VSREMOVEDIRECTORYFLAGS.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From IVsTrackProjectDocumentsEvents2.idl
HRESULT IVsTrackProjectDocumentsEvents2::OnAfterRemoveDirectories(
[in] int cProjects,
[in] int cDirectories,
[in, size_is(cProjects)] IVsProject *rgpProjects[],
[in, size_is(cProjects)] const int rgFirstIndices[],
[in, size_is(cDirectories)] const LPCOLESTR rgpszMkDocuments[],
[in, size_is(cDirectories)] const VSREMOVEDIRECTORYFLAGS rgFlags[]
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.