Freigeben über


IVsFilterAddProjectItemDlg2 Interface

Sets filtering for the AddItem dialog box.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("61116CFF-5319-440A-81CE-5D9F54A610DE")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFilterAddProjectItemDlg2 _
    Inherits IVsFilterAddProjectItemDlg
'Usage
Dim instance As IVsFilterAddProjectItemDlg2
[GuidAttribute("61116CFF-5319-440A-81CE-5D9F54A610DE")]
[InterfaceTypeAttribute()]
public interface IVsFilterAddProjectItemDlg2 : IVsFilterAddProjectItemDlg
[GuidAttribute(L"61116CFF-5319-440A-81CE-5D9F54A610DE")]
[InterfaceTypeAttribute()]
public interface class IVsFilterAddProjectItemDlg2 : IVsFilterAddProjectItemDlg
[<GuidAttribute("61116CFF-5319-440A-81CE-5D9F54A610DE")>]
[<InterfaceTypeAttribute()>]
type IVsFilterAddProjectItemDlg2 =  
    interface
        interface IVsFilterAddProjectItemDlg
    end
public interface IVsFilterAddProjectItemDlg2 extends IVsFilterAddProjectItemDlg

Remarks

This interface provides for filtering of elements in the left pane and project files in the right pane of the AddItem dialog. When a user invokes the AddItem dialog, the environment makes multiple calls to these methods. The first calls are to determine which tree elements you want to filter from the left pane. Subsequent calls allow you to filter specific files from the right pane.

Notes to Implementers

Implemented by a parent project to filter the project types displayed in the AddItem dialog. Only project items, such as files, specific to the specified filter are displayed.

Notes to Callers

Called by the environment when the AddItem dialog box for the child is opened.

See Also

Reference

IVsFilterAddProjectItemDlg2 Members

Microsoft.VisualStudio.Shell.Interop Namespace