Delen via


ModelingPackage.CreateToolboxItems Method

Creates the items in 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
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

See Also

Reference

ModelingPackage Class

Microsoft.VisualStudio.Modeling.Shell Namespace