TreeNode.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
void ISerializable.GetObjectData(
	SerializationInfo si,
	StreamingContext context
)

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: