This documentation is archived and is not being maintained.

ToolboxItem::Initialize Method

Initializes the current toolbox item with the specified type to create.

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

public:
virtual void Initialize(
	Type^ type
)

Parameters

type
Type: System::Type
The Type that the toolbox item creates.

ExceptionCondition
InvalidOperationException

The ToolboxItem was locked.

The Initialize method configures the toolbox item to create the specified type, if the CreateComponentsCore method has not been overridden to behave differently.

This method performs the following operations:

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: