DiagramView.SelectedToolboxItemSupportsFilterString(String) 方法

定义

确定当前选定的工具箱项是否支持给定的筛选器字符串。 用于识别自定义筛选器。

public:
 bool SelectedToolboxItemSupportsFilterString(System::String ^ filter);
public bool SelectedToolboxItemSupportsFilterString (string filter);
member this.SelectedToolboxItemSupportsFilterString : string -> bool
Public Function SelectedToolboxItemSupportsFilterString (filter As String) As Boolean

参数

filter
String

返回

Boolean

如果当前选定的工具箱项支持给定筛选器字符串,则为 True。

注解

对于使用 ToolboxItemFilterAttributes 作为标记标识某些工具箱项的客户端,这是一个有用的帮助器方法。

适用于