共用方式為


IVsRegisterNewDialogFilters Interface

Definition

Installs custom filters for the AddNewProject or AddNewItem dialogs. You can get an instance of the interface from the SVsRegisterNewDialogFilters (SID_SVsRegisterNewDialogFilters) service.

public interface class IVsRegisterNewDialogFilters
public interface class IVsRegisterNewDialogFilters
__interface IVsRegisterNewDialogFilters
[System.Runtime.InteropServices.Guid("9455BDB5-2A5A-45F1-A558-72B88A78E6E3")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsRegisterNewDialogFilters
[<System.Runtime.InteropServices.Guid("9455BDB5-2A5A-45F1-A558-72B88A78E6E3")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsRegisterNewDialogFilters = interface
Public Interface IVsRegisterNewDialogFilters
Attributes

Remarks

A filter you add through this interface must implement either the IVsFilterAddProjectItemDlg interface, or the IVsFilterNewProjectDlg interface.

Methods

RegisterAddNewItemDialogFilter(IVsFilterAddProjectItemDlg, UInt32)

Registers a filter for the AddNewItem dialog.

RegisterNewProjectDialogFilter(IVsFilterNewProjectDlg, UInt32)

Registers a new filter for the AddNewProject dialog.

UnregisterAddNewItemDialogFilter(UInt32)

Unregisters a filter for the AddNewItem dialog.

UnregisterNewProjectDialogFilter(UInt32)

Unregisters a filter for the AddNewProject dialog.

Applies to