Partager via


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

'Déclaration
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

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

See Also

Reference

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace