XName.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Rellena SerializationInfo con los datos necesarios para serializar el objeto de destino.Populates a SerializationInfo with the data required to serialize the target object.

 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

SerializationInfo que se rellena con datos.The SerializationInfo to populate with data.

context
StreamingContext

Destino (vea StreamingContext) para esta serialización.The destination (see StreamingContext) for this serialization.

Implements

Remarks

Este método se usa internamente para serializar gráficos de objetos que contienen objetos de LINQ to XML.This method is used internally to serialize object graphs that contain LINQ to XML objects.

Applies to