TreeNode.Serialize(SerializationInfo, StreamingContext) Methode

Definition

Speichert den Zustand des TreeNode in der angegebenen SerializationInfo.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)

Parameter

si
SerializationInfo

Die SerializationInfo, die das TreeNode beschreibt.The SerializationInfo that describes the TreeNode.

context
StreamingContext

Der StreamingContext, der während der Serialisierung den Zustand des Streams angibt.The StreamingContext that indicates the state of the stream during serialization

Sicherheit

SecurityPermission
für Serialisierungsdienste.for serialization services. Zugehörige Enumeration:SerializationFormatterAssociated enumeration: SerializationFormatter

Gilt für: