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

Definizione

Compila un oggetto SerializationInfo con i dati necessari a serializzare l'oggetto PeerObject specificato.Populates a SerializationInfo with the data required to serialize the specified PeerObject.

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)

Parametri

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Istanza di SerializationInfo in cui inserire i dati.The SerializationInfo instance to populate with data.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Destinazione della serializzazione.The destination for the serialization.

Implementazioni

Commenti

Un tipo derivato deve chiamare il metodo GetObjectData del tipo di base.A derived type must call the base type GetObjectData method.

Si applica a

Vedi anche