TreeNode::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
virtual void GetObjectData(
	SerializationInfo^ si,
	StreamingContext context
) sealed = ISerializable::GetObjectData

Parameters

si
Type: System.Runtime.Serialization::SerializationInfo^

A SerializationInfo that contains the data to serialize the TreeNode.

context
Type: System.Runtime.Serialization::StreamingContext

A StreamingContext that contains the destination information for this serialization.

SecurityPermission

for serialization services. Associated enumeration: SerializationFormatter

.NET Framework
Available since 1.1
Return to top
Show: