SortedSet<T>::GetObjectData Method (SerializationInfo^, StreamingContext)
Implements the System.Runtime.Serialization::ISerializable interface and returns the data that you must have to serialize a SortedSet<T> object.
Assembly: System (in System.dll)
protected: virtual void GetObjectData( SerializationInfo^ info, StreamingContext context )
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
A System.Runtime.Serialization::SerializationInfo object that contains the information that is required to serialize the SortedSet<T> object.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
A System.Runtime.Serialization::StreamingContext structure that contains the source and destination of the serialized stream associated with the SortedSet<T> object.
| Exception | Condition |
|---|---|
| ArgumentNullException | info is null. |
for providing serialization services. Security action: LinkDemand. Associated enumeration: SecurityPermissionFlag::SerializationFormatter
Available since 4.0