다음을 통해 공유


DiagramView.SelectedToolboxItemSupportsFilterString(String) Method

Definition

Determines whether the currently selected toolbox item supports the given filter string. Useful for recognizing custom filters.

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

Parameters

filter
String

Returns

True if the given filter string is supported by the currently selected toolbox item.

Remarks

This is a useful helper method for clients that use ToolboxItemFilterAttributes as tags to identify certain toolbox items.

Applies to