IVsFilterAddProjectItemDlg2 Interface

Definition

Sets filtering for the AddItem dialog box.

public interface class IVsFilterAddProjectItemDlg2 : Microsoft::VisualStudio::Shell::Interop::IVsFilterAddProjectItemDlg
public interface class IVsFilterAddProjectItemDlg2 : Microsoft::VisualStudio::Shell::Interop::IVsFilterAddProjectItemDlg
__interface IVsFilterAddProjectItemDlg2 : Microsoft::VisualStudio::Shell::Interop::IVsFilterAddProjectItemDlg
[System.Runtime.InteropServices.Guid("61116CFF-5319-440A-81CE-5D9F54A610DE")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFilterAddProjectItemDlg2 : Microsoft.VisualStudio.Shell.Interop.IVsFilterAddProjectItemDlg
[System.Runtime.InteropServices.Guid("61116CFF-5319-440A-81CE-5D9F54A610DE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFilterAddProjectItemDlg2 : Microsoft.VisualStudio.Shell.Interop.IVsFilterAddProjectItemDlg
[<System.Runtime.InteropServices.Guid("61116CFF-5319-440A-81CE-5D9F54A610DE")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFilterAddProjectItemDlg2 = interface
    interface IVsFilterAddProjectItemDlg
[<System.Runtime.InteropServices.Guid("61116CFF-5319-440A-81CE-5D9F54A610DE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFilterAddProjectItemDlg2 = interface
    interface IVsFilterAddProjectItemDlg
Public Interface IVsFilterAddProjectItemDlg2
Implements IVsFilterAddProjectItemDlg
Attributes
Implements

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.

Methods

FilterListItemByCategory(Guid, String, Int32)

Filters files by category.

FilterListItemByLocalizedName(Guid, String, Int32)

Filters files by localized name.

FilterListItemByTemplateFile(Guid, String, Int32)

Filters files by actual template file name.

FilterTreeItemByCategory(Guid, String, Int32)

Filters tree elements by category.

FilterTreeItemByLocalizedName(Guid, String, Int32)

Filters tree elements by localized name.

FilterTreeItemByTemplateDir(Guid, String, Int32)

Filters tree elements by actual directory name.

Applies to