ToolboxItemContainer Constructor (SerializationInfo^, StreamingContext)
Initializes a new instance of the ToolboxItemContainer class from a serialization stream.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The serialization information passed in by the serializer when deserializing the ToolboxItemContainer.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The streaming context passed in by the serializer when deserializing the ToolboxItemContainer.
Notes to Inheritors:
ToolboxItemContainer objects can be serialized. Generally, it is not necessary to override the serialization mechanism for a ToolboxItemContainer. ToolboxItemContainer objects implement serialization by saving the System.Windows.Forms::IDataObject returned from the ToolboxData property. When you override ToolboxData and provide your own custom data, this data is included with the default System.Runtime.Serialization::ISerializable implementation. Override the default serialization implementation only if you intend to store private details about this ToolboxItemContainer that should not be exposed through the public data object.
Available since 2.0