編輯

共用方式為


TreeNode.ISerializable.GetObjectData Method

Definition

Populates a serialization information object with the data needed to serialize the TreeNode.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

si
SerializationInfo

A SerializationInfo that contains the data to serialize the TreeNode.

context
StreamingContext

A StreamingContext that contains the destination information for this serialization.

Implements

Applies to