Provides access to the environment's Add Project Item dialog box for the purpose of adding new items to the project.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Thetype exposes the following members.
|AddExistingProjectItems||Adds existing project items.|
|AddNewProjectItem||Adds a new project item.|
|AddProjectItemDlg||Displays the Add Item dialog box on behalf of the calling project.|
|AddProjectItemDlgTitled||Allows adding or changing a caption on the Add Project Item dialog box.|
|AddProjectItemDlgTitledEx||Provides additional functionality to the AddProjectItemDlgTitled method such as treeview, help, and default directory selection and expansion.|
The individual IVsAddProjectItemDlg2 Add commands call the same dialog box as the Add Item command except that the tree control in the left pane is expanded to the appropriate folder.Notes to Implementers
Projects implement this interface when their command handlers need to access the Add Item command as well as other Add commands.Notes to Callers
The IVsAddProjectDlg2 interface is called by projects when they need to implement their command handlers for the Add Item command as well as other Add commands. The objective is to access the Add Project Item dialog box in order to add a new item to a project.