This documentation is archived and is not being maintained.

ToolboxItem.Initialize Method

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

[Visual Basic]
Public Overridable Sub Initialize( _
   ByVal type As Type _
)
[C#]
public virtual void Initialize(
 Type type
);
[C++]
public: virtual void Initialize(
 Type* type
);
[JScript]
public function Initialize(
   type : Type
);

Parameters

type
The Type that the toolbox item will create.

Remarks

This 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:

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace

Show: