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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
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
- 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.