IVsAddProjectItemDlg2 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)
Syntax
'宣告
<GuidAttribute("6B90D260-E363-4E8A-AE51-BD19C493416D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsAddProjectItemDlg2 _
Inherits IVsAddProjectItemDlg
'用途
Dim instance As IVsAddProjectItemDlg2
[GuidAttribute("6B90D260-E363-4E8A-AE51-BD19C493416D")]
[InterfaceTypeAttribute()]
public interface IVsAddProjectItemDlg2 : IVsAddProjectItemDlg
[GuidAttribute(L"6B90D260-E363-4E8A-AE51-BD19C493416D")]
[InterfaceTypeAttribute()]
public interface class IVsAddProjectItemDlg2 : IVsAddProjectItemDlg
[<GuidAttribute("6B90D260-E363-4E8A-AE51-BD19C493416D")>]
[<InterfaceTypeAttribute()>]
type IVsAddProjectItemDlg2 =
interface
interface IVsAddProjectItemDlg
end
public interface IVsAddProjectItemDlg2 extends IVsAddProjectItemDlg
Remarks
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.