This topic has not yet been rated - Rate this topic

IVsAddProjectItemDlg Interface

Provides access to the environment's Add Project Item dialog box for the purpose of adding new items to the project.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

[GuidAttribute("11DFCCEB-D935-4A9F-9796-5BA433C5AF8E")] 
[InterfaceTypeAttribute(1)] 
public interface IVsAddProjectItemDlg
/** @attribute GuidAttribute("11DFCCEB-D935-4A9F-9796-5BA433C5AF8E") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsAddProjectItemDlg
GuidAttribute("11DFCCEB-D935-4A9F-9796-5BA433C5AF8E") 
InterfaceTypeAttribute(1) 
public interface IVsAddProjectItemDlg

The individual Add commands in this interface 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.

See illustrations of the implementation and/or calling of this interface in the samples Basic Project Sample, Figures Project Sample, and My C Package Sample.

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 IVsAddProjectDlg 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ