Condividi tramite


TreeNode.Serialize(SerializationInfo, StreamingContext) Metodo

Definizione

Salva lo stato dell'oggetto TreeNode nell'oggetto SerializationInfo specificato.

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)

Parametri

si
SerializationInfo

Classe SerializationInfo che descrive l'oggetto TreeNode.

context
StreamingContext

Oggetto StreamingContext che indica lo stato del flusso durante la serializzazione.

Si applica a