Partager via


IVsFilterAddProjectItemDlg Interface

Sets filtering for the Add Item dialog box.

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

Syntax

'Declaration
<GuidAttribute("D93A191C-525A-43BC-ACFD-7EF494143CF4")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFilterAddProjectItemDlg
[GuidAttribute("D93A191C-525A-43BC-ACFD-7EF494143CF4")]
[InterfaceTypeAttribute()]
public interface IVsFilterAddProjectItemDlg
[GuidAttribute(L"D93A191C-525A-43BC-ACFD-7EF494143CF4")]
[InterfaceTypeAttribute()]
public interface class IVsFilterAddProjectItemDlg
[<GuidAttribute("D93A191C-525A-43BC-ACFD-7EF494143CF4")>]
[<InterfaceTypeAttribute()>]
type IVsFilterAddProjectItemDlg =  interface end
public interface IVsFilterAddProjectItemDlg

The IVsFilterAddProjectItemDlg type exposes the following members.

Methods

  Name Description
Public method FilterListItemByLocalizedName Filters files by localized name.
Public method FilterListItemByTemplateFile Filters files by actual template file name.
Public method FilterTreeItemByLocalizedName Filters tree elements by localized name.
Public method FilterTreeItemByTemplateDir Filters tree elements by actual directory name.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace