SortedSet<T>.ISerializable.GetObjectData(SerializationInfo, StreamingContext) SortedSet<T>.ISerializable.GetObjectData(SerializationInfo, StreamingContext) SortedSet<T>.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Implements the ISerializable interface, and returns the data that you need to serialize the SortedSet<T> instance.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo SerializationInfo SerializationInfo

A SerializationInfo object that contains the information that is required to serialize the SortedSet<T> instance.

context
StreamingContext StreamingContext StreamingContext

A StreamingContext structure that contains the source and destination of the serialized stream associated with the SortedSet<T> instance.

Implements

Exceptions

Remarks

This member is an explicit interface member implementation. It can be used only when the SortedSet<T> instance is cast to an ISerializable interface.

Security

SecurityPermission
for providing serialization services. Security action: LinkDemand. Associated enumeration: SerializationFormatter

Applies to