TreeNode.Serialize(SerializationInfo, StreamingContext) 方法

定义

TreeNode 的状态保存到指定的 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)

参数

context
StreamingContext

指示 StreamingContext 序列化期间流状态的 。

适用于