Partager via


DiagramDocView.GetToolboxItemFilterAttributes Method

Gets a collection of filter strings and filter types for the Toolbox.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Overridable Function GetToolboxItemFilterAttributes As ToolboxItemFilterAttribute()
public virtual ToolboxItemFilterAttribute[] GetToolboxItemFilterAttributes()
public:
virtual array<ToolboxItemFilterAttribute^>^ GetToolboxItemFilterAttributes()
abstract GetToolboxItemFilterAttributes : unit -> ToolboxItemFilterAttribute[] 
override GetToolboxItemFilterAttributes : unit -> ToolboxItemFilterAttribute[] 
public function GetToolboxItemFilterAttributes() : ToolboxItemFilterAttribute[]

Return Value

Type: array<System.ComponentModel.ToolboxItemFilterAttribute[]
The collection of filter strings and filter types for the Toolbox.

Remarks

When you specify a diagram view and make it active, this method determines which elements appear in the Toolbox and how they appear.

.NET Framework Security

See Also

Reference

DiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace