Επεξεργασία

Κοινή χρήση μέσω


LinkedList<T>.Enumerator.ISerializable.GetObjectData Method

Definition

Implements the ISerializable interface and returns the data needed to serialize the LinkedList<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);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Implements

Exceptions

info is null.

Applies to

See also