DiagramView.SelectedToolboxItemSupportsFilterString Method
Determines whether the currently selected toolbox item supports the given filter string. Useful for recognizing custom filters.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Function SelectedToolboxItemSupportsFilterString ( _
filter As String _
) As Boolean
public bool SelectedToolboxItemSupportsFilterString(
string filter
)
public:
bool SelectedToolboxItemSupportsFilterString(
String^ filter
)
member SelectedToolboxItemSupportsFilterString :
filter:string -> bool
public function SelectedToolboxItemSupportsFilterString(
filter : String
) : boolean
Parameters
- filter
Type: System.String
Return Value
Type: System.Boolean
Remarks
This is a useful helper method for clients that use ToolboxItemFilterAttributes as tags to identify certain toolbox items.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.