Freigeben über


ToolboxItemCollection-Konstruktor (ToolboxItemCollection)

Initialisiert eine neue Instanz der ToolboxItemCollection-Klasse unter Verwendung der angegebenen Auflistung.

Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)

Syntax

'Declaration
Public Sub New ( _
    value As ToolboxItemCollection _
)
'Usage
Dim value As ToolboxItemCollection

Dim instance As New ToolboxItemCollection(value)
public ToolboxItemCollection (
    ToolboxItemCollection value
)
public:
ToolboxItemCollection (
    ToolboxItemCollection^ value
)
public ToolboxItemCollection (
    ToolboxItemCollection value
)
public function ToolboxItemCollection (
    value : ToolboxItemCollection
)

Parameter

Beispiel

Im folgenden Codebeispiel wird das Erstellen einer neuen ToolboxItemCollection-Instanz veranschaulicht, die mit einer anderen ToolboxItemCollection initialisiert wird.

' Creates a new ToolboxItemCollection using an existing ToolboxItemCollection.
Dim coll As New ToolboxItemCollection(collection)
// Create a new ToolboxItemCollection using an existing ToolboxItemCollection.
ToolboxItemCollection coll =
    new ToolboxItemCollection( collection );
// Create a new ToolboxItemCollection using an existing ToolboxItemCollection.
ToolboxItemCollection^ coll = gcnew ToolboxItemCollection( collection );

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

ToolboxItemCollection-Klasse
ToolboxItemCollection-Member
System.Drawing.Design-Namespace