共用方式為


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

'宣告
<GuidAttribute("D93A191C-525A-43BC-ACFD-7EF494143CF4")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFilterAddProjectItemDlg
'用途
Dim instance As 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

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

IVsFilterAddProjectItemDlg Members

Microsoft.VisualStudio.Shell.Interop Namespace