DiagramView::SelectedToolboxItemSupportsFilterString Method (String^)
Visual Studio 2015
Determines whether the currently selected toolbox item supports the given filter string. Useful for recognizing custom filters.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- filter
- Type: System::String^
- filterString
Filter string to test support for. If this string is present in the ToolboxItem.Filter collection for the currently selected toolbox item, and the associated ToolboxItemFilterType is not Prevent, then this will return true.
Return Value
Type: System::BooleanThis is a useful helper method for clients that use ToolboxItemFilterAttributes as tags to identify certain toolbox items.
Show: