Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ToolboxItem.Serialize(SerializationInfo, StreamingContext) Method

Definition

Saves the state of the toolbox item to the specified serialization information object.

C#
protected virtual void Serialize(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The SerializationInfo to save to.

context
StreamingContext

A StreamingContext that indicates the stream characteristics.

Notes to Inheritors

The Serialize(SerializationInfo, StreamingContext) and Deserialize(SerializationInfo, StreamingContext) methods must be implemented in classes that derive from the ToolboxItem class in order to support persistence in the toolbox database provided by some development environments.

Applies to

Termék Verziók
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10