Export (0) Print
Expand All

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)

[GuidAttribute("D93A191C-525A-43BC-ACFD-7EF494143CF4")]
[InterfaceTypeAttribute()]
public interface IVsFilterAddProjectItemDlg

The IVsFilterAddProjectItemDlg type exposes the following members.

  NameDescription
Public methodFilterListItemByLocalizedNameFilters files by localized name.
Public methodFilterListItemByTemplateFileFilters files by actual template file name.
Public methodFilterTreeItemByLocalizedNameFilters tree elements by localized name.
Public methodFilterTreeItemByTemplateDirFilters tree elements by actual directory name.
Top

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.

Community Additions

ADD
Show:
© 2014 Microsoft