TreeNode::Serialize Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Saves the state of the TreeNode to the specified SerializationInfo.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
protected: [SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::SerializationFormatter)] [SecurityPermissionAttribute(SecurityAction::InheritanceDemand, Flags = SecurityPermissionFlag::SerializationFormatter)] virtual void Serialize( SerializationInfo^ si, StreamingContext context )
Parameters
- si
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo that describes the TreeNode.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The StreamingContext that indicates the state of the stream during serialization
SecurityPermission
for serialization services. Associated enumeration: SerializationFormatter
.NET Framework
Available since 2.0
Available since 2.0
Show: