다음을 통해 공유


IVsAddProjectItemDlg2 Interface

Definition

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

public interface class IVsAddProjectItemDlg2 : Microsoft::VisualStudio::Shell::Interop::IVsAddProjectItemDlg
public interface class IVsAddProjectItemDlg2 : Microsoft::VisualStudio::Shell::Interop::IVsAddProjectItemDlg
__interface IVsAddProjectItemDlg2 : Microsoft::VisualStudio::Shell::Interop::IVsAddProjectItemDlg
[System.Runtime.InteropServices.Guid("6B90D260-E363-4E8A-AE51-BD19C493416D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsAddProjectItemDlg2 : Microsoft.VisualStudio.Shell.Interop.IVsAddProjectItemDlg
[System.Runtime.InteropServices.Guid("6B90D260-E363-4E8A-AE51-BD19C493416D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAddProjectItemDlg2 : Microsoft.VisualStudio.Shell.Interop.IVsAddProjectItemDlg
[<System.Runtime.InteropServices.Guid("6B90D260-E363-4E8A-AE51-BD19C493416D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsAddProjectItemDlg2 = interface
    interface IVsAddProjectItemDlg
[<System.Runtime.InteropServices.Guid("6B90D260-E363-4E8A-AE51-BD19C493416D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAddProjectItemDlg2 = interface
    interface IVsAddProjectItemDlg
Public Interface IVsAddProjectItemDlg2
Implements IVsAddProjectItemDlg
Attributes
Implements

Remarks

The individual IVsAddProjectItemDlg2Add 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.

Methods

AddExistingProjectItems(UInt32, Guid, IVsProject, UInt32, Guid, String, Guid, UInt32, String[])

Adds existing project items.

AddNewProjectItem(UInt32, Guid, IVsProject, UInt32, Guid, String, Guid, String, String)

Adds a new project item.

AddProjectItemDlg(UInt32, Guid, IVsProject, UInt32, String, String, String, String, Int32)

Displays the Add Item dialog box on behalf of the calling project.

AddProjectItemDlgTitled(UInt32, Guid, IVsProject, UInt32, String, String, String, String, String, Int32)

Allows adding or changing a caption on the Add Project Item dialog box.

AddProjectItemDlgTitledEx(UInt32, Guid, IVsProject, UInt32, String, String, String, String, String, String, String, Int32)

Provides additional functionality to the AddProjectItemDlgTitled(UInt32, Guid, IVsProject, UInt32, String, String, String, String, String, Int32) method such as treeview, help, and default directory selection and expansion.

Applies to