共用方式為


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 表示序列化期間資料流程的狀態。

適用於