ModelingPackage.CreateToolboxItems Method
Creates the items in the Toolbox.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected Overridable Function CreateToolboxItems As IList(Of ModelingToolboxItem)
'Usage
Dim returnValue As IList(Of ModelingToolboxItem)
returnValue = Me.CreateToolboxItems()
protected virtual IList<ModelingToolboxItem> CreateToolboxItems()
protected:
virtual IList<ModelingToolboxItem^>^ CreateToolboxItems()
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.