ModelingPackage.AddToolboxItems Method
Add the passed collection of ModelingToolboxItemBase items into the Visual Studio toolbox.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Sub AddToolboxItems ( _
items As IEnumerable(Of ModelingToolboxItemBase) _
)
protected void AddToolboxItems(
IEnumerable<ModelingToolboxItemBase> items
)
protected:
void AddToolboxItems(
IEnumerable<ModelingToolboxItemBase^>^ items
)
member AddToolboxItems :
items:IEnumerable<ModelingToolboxItemBase> -> unit
protected function AddToolboxItems(
items : IEnumerable<ModelingToolboxItemBase>
)
Parameters
- items
Type: System.Collections.Generic.IEnumerable<ModelingToolboxItemBase>
An array of ModelingToolboxItem to be added.
.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.