DataTable.GetObjectData(SerializationInfo, StreamingContext) DataTable.GetObjectData(SerializationInfo, StreamingContext) DataTable.GetObjectData(SerializationInfo, StreamingContext) DataTable.GetObjectData(SerializationInfo, StreamingContext) Method

Definición

Rellena un objeto de información de serialización con los datos necesarios para serializar DataTable.Populates a serialization information object with the data needed to serialize the DataTable.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public 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
Public Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parámetros

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Objeto SerializationInfo que contiene los datos serializados asociados a DataTable.A SerializationInfo object that holds the serialized data associated with the DataTable.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Objeto StreamingContext que contiene el origen y el destino de la secuencia serializada asociada a DataTable.A StreamingContext object that contains the source and destination of the serialized stream associated with the DataTable.

Implementaciones

Excepciones

El parámetro info es una referencia nula (Nothing en Visual Basic).The info parameter is a null reference (Nothing in Visual Basic).

Se aplica a

Consulte también: