DataSet.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Popola un oggetto di informazioni di serializzazione con i dati necessari per serializzare l'istanza di DataSet.Populates a serialization information object with the data needed to serialize the DataSet.

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)

Parameters

info
SerializationInfo

Oggetto SerializationInfo contenente i dati serializzati associati all'eccezione DataSet.A SerializationInfo that holds the serialized data associated with the DataSet.

context
StreamingContext

Contesto StreamingContext contenente l'origine e la destinazione del flusso serializzato associato all'eccezione DataSet.A StreamingContext that contains the source and destination of the serialized stream associated with the DataSet.

Implements

Exceptions

Il parametro info è null.The info parameter is null.

Applies to

See also