TreeNode.ISerializable.GetObjectData(SerializationInfo, StreamingContext) TreeNode.ISerializable.GetObjectData(SerializationInfo, StreamingContext) TreeNode.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

定義

以序列化 TreeNode 所需的資料,填入序列化資訊物件。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);
Sub GetObjectData (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

si
SerializationInfo SerializationInfo SerializationInfo

SerializationInfo,包含序列化 TreeNode 所需的資料。A SerializationInfo that contains the data to serialize the TreeNode.

context
StreamingContext StreamingContext StreamingContext

StreamingContext,包含這個序列化的目的端資訊。A StreamingContext that contains the destination information for this serialization.

實作

安全性

SecurityPermission
適用于序列化服務。for serialization services. 相關聯的列舉:SerializationFormatterAssociated enumeration: SerializationFormatter

適用於