TreeNode.ISerializable.GetObjectData(SerializationInfo, StreamingContext) 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);
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

Security

SecurityPermission
for serialization services. Associated enumeration: SerializationFormatter

Applies to