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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Public Overridable Function GetToolboxItemFilterAttributes As ToolboxItemFilterAttribute()
'Usage
Dim instance As DiagramDocView
Dim returnValue As ToolboxItemFilterAttribute()
returnValue = instance.GetToolboxItemFilterAttributes()
public virtual ToolboxItemFilterAttribute[] GetToolboxItemFilterAttributes()
public:
virtual array<ToolboxItemFilterAttribute^>^ GetToolboxItemFilterAttributes()
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
- 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.