SortedSet<T> Constructor (SerializationInfo, StreamingContext)

.NET Framework (current version)

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

Initializes a new instance of the SortedSet<T> class that contains serialized data.

Namespace:   System.Collections.Generic
Assembly:  System (in System.dll)

protected SortedSet(
	SerializationInfo info,
	StreamingContext context


Type: System.Runtime.Serialization.SerializationInfo

The object that contains the information that is required to serialize the SortedSet<T> object.

Type: System.Runtime.Serialization.StreamingContext

The structure that contains the source and destination of the serialized stream associated with the SortedSet<T> object.

This constructor is called during deserialization to reconstitute an object that is transmitted over a stream.

.NET Framework
Available since 4.0
Return to top