Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
int OnAfterAddDirectories ( [InAttribute] IVsProject pProject, [InAttribute] int cDirectories, [InAttribute] string rgpszMkDocuments )
int OnAfterAddDirectories ( /** @attribute InAttribute() */ IVsProject pProject, /** @attribute InAttribute() */ int cDirectories, /** @attribute InAttribute() */ String rgpszMkDocuments )
function OnAfterAddDirectories ( pProject : IVsProject, cDirectories : int, rgpszMkDocuments : String ) : int
[in] Project for which the directories have been added.
[in] Number of directories that were added.
[in, size_is(cDirectories)] Array of paths for the directories that were added. This is the same size as cFiles.
Return ValueIf the method succeeds, it returns . If it fails, it returns an error code.
HRESULT IVsTrackProjectDocuments2::OnAfterAddDirectories( [in] IVsProject *pProject, [in] int cDirectories, [in, size_is(cDirectories)] const LPCOLESTR rgpszMkDocuments );
The project calls this method after it has added directories to notify the environment that the directories have been added.
All directory calls are optional. However, if you call one of the OnQuery* directory methods, then you are required to call the corresponding OnAfter* directory method if the OnQuery* call was successful.