SortedSet<T>.GetObjectData(SerializationInfo, StreamingContext) Método

Definición

Implementa la interfaz ISerializable y devuelve los datos necesarios para serializar un objeto SortedSet<T>.Implements the ISerializable interface and returns the data that you must have to serialize a SortedSet<T> object.

protected:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parámetros

info
SerializationInfo

Objeto SerializationInfo que contiene la información necesaria para serializar el objeto SortedSet<T>.A SerializationInfo object that contains the information that is required to serialize the SortedSet<T> object.

context
StreamingContext

Estructura StreamingContext que contiene el origen y el destino del flujo serializado asociado al objeto SortedSet<T>.A StreamingContext structure that contains the source and destination of the serialized stream associated with the SortedSet<T> object.

Implementaciones

Excepciones

info es null.info is null.

Comentarios

Llamar a este método es una operación O(n), donde se Countn.Calling this method is an O(n) operation, where n is Count.

Se aplica a