Compartilhar via


IVsFilterAddProjectItemDlg Interface

Definition

Sets filtering for the Add Item dialog box.

public interface class IVsFilterAddProjectItemDlg
public interface class IVsFilterAddProjectItemDlg
__interface IVsFilterAddProjectItemDlg
[System.Runtime.InteropServices.Guid("D93A191C-525A-43BC-ACFD-7EF494143CF4")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFilterAddProjectItemDlg
[System.Runtime.InteropServices.Guid("D93A191C-525A-43BC-ACFD-7EF494143CF4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFilterAddProjectItemDlg
[<System.Runtime.InteropServices.Guid("D93A191C-525A-43BC-ACFD-7EF494143CF4")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFilterAddProjectItemDlg = interface
[<System.Runtime.InteropServices.Guid("D93A191C-525A-43BC-ACFD-7EF494143CF4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFilterAddProjectItemDlg = interface
Public Interface IVsFilterAddProjectItemDlg
Derived
Attributes

Remarks

This interface provides for filtering of elements in the left pane and project files in the right pane of the Add Item dialog. When a user invokes the Add Item 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 Add Item dialog. Only project items, such as files, specific to the specified filter are displayed.

Methods

FilterListItemByLocalizedName(Guid, String, Int32)

Filters files by localized name.

FilterListItemByTemplateFile(Guid, String, Int32)

Filters files by actual template file name.

FilterTreeItemByLocalizedName(Guid, String, Int32)

Filters tree elements by localized name.

FilterTreeItemByTemplateDir(Guid, String, Int32)

Filters tree elements by actual directory name.

Applies to