This documentation is archived and is not being maintained.
ToolboxItem.Serialize Method
.NET Framework 1.1
Saves the state of the toolbox item to the specified serialization information object.
[Visual Basic] Protected Overridable Sub Serialize( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) [C#] protected virtual void Serialize( SerializationInfo info, StreamingContext context ); [C++] protected: virtual void Serialize( SerializationInfo* info, StreamingContext context ); [JScript] protected function Serialize( info : SerializationInfo, context : StreamingContext );
Parameters
- info
- The SerializationInfo to save to.
- context
- A StreamingContext that indicates the stream characteristics.
Remarks
Notes to Implementers: The Serialize and Deserialize methods must be implemented in classes that derive from ToolboxItem in order to support persistence in the toolbox database provided by some development environments.
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: