Partager via


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

<InterfaceTypeAttribute()> _
<GuidAttribute("61116CFF-5319-440A-81CE-5D9F54A610DE")> _
Public Interface IVsFilterAddProjectItemDlg2 _
    Implements IVsFilterAddProjectItemDlg

Dim instance As IVsFilterAddProjectItemDlg2
[InterfaceTypeAttribute()]
[GuidAttribute("61116CFF-5319-440A-81CE-5D9F54A610DE")]
public interface IVsFilterAddProjectItemDlg2 : IVsFilterAddProjectItemDlg
[InterfaceTypeAttribute()]
[GuidAttribute(L"61116CFF-5319-440A-81CE-5D9F54A610DE")]
public interface class IVsFilterAddProjectItemDlg2 : IVsFilterAddProjectItemDlg
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