TreeNode.Serialize(SerializationInfo, StreamingContext) Método

Definición

Guarda el estado del TreeNode en el SerializationInfo especificado.Saves the state of the TreeNode to the specified SerializationInfo.

protected:
 virtual void Serialize(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext context);
protected virtual void Serialize (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context);
abstract member Serialize : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.Serialize : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overridable Sub Serialize (si As SerializationInfo, context As StreamingContext)

Parámetros

si
SerializationInfo

Clase SerializationInfo que describe la clase TreeNode.The SerializationInfo that describes the TreeNode.

context
StreamingContext

Control StreamingContext que indica el estado de la secuencia durante la serialización.The StreamingContext that indicates the state of the stream during serialization

Seguridad

SecurityPermission
para los servicios de serialización.for serialization services. Enumeración asociada:SerializationFormatterAssociated enumeration: SerializationFormatter

Se aplica a