ModelingPackage.CreateToolboxItems Method
Creates the items in 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
'Declaration
Protected Overridable Function CreateToolboxItems As IList(Of ModelingToolboxItem)
protected virtual IList<ModelingToolboxItem> CreateToolboxItems()
protected:
virtual IList<ModelingToolboxItem^>^ CreateToolboxItems()
abstract CreateToolboxItems : unit -> IList<ModelingToolboxItem>
override CreateToolboxItems : unit -> IList<ModelingToolboxItem>
protected function CreateToolboxItems() : IList<ModelingToolboxItem>
Return Value
Type: System.Collections.Generic.IList<ModelingToolboxItem>
List of Toolbox items that are available in the Domain-Specific Language Designer package.
Remarks
Derived classes can supply additional items for the Toolbox.
.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.