INodeFilterProvider 接口

定义

为打开的文件夹中的解决方案资源管理器创建节点筛选器。Creates node filters for the Solution Explorer in Open Folder.

public interface class INodeFilterProvider
public interface INodeFilterProvider
type INodeFilterProvider = interface
Public Interface INodeFilterProvider

属性

IsFilterAvailable

获取是否满足创建筛选器的条件。Gets if the conditions to create a filter are met. 如果为 true,则 "打开文件夹" 中的解决方案资源管理器会启用此筛选器提供程序的按钮。When this is true, the Solution Explorer in Open Folder will enable the button for this filter provider.

方法

CreateFilter()

创建 INodeFilter 可由解决方案资源管理器使用的的新实例。Creates a new instance of INodeFilter that can be used by the Solution Explorer. 每次活动筛选器更改时,将请求新的筛选器。A new filter will be requested each time the active filter changes.

事件

OnIsFilterAvailableChanged

当应为提供程序请求新的实例时出现 INodeFilterOccurs when the provider should be asked for a new INodeFilter instance.

适用于