Collection.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Restituisce i dati necessari per la serializzazione dell'oggetto Collection.Returns the data needed to serialize the Collection object.

 virtual void 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);
[System.Security.SecurityCritical]
void ISerializable.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
[<System.Security.SecurityCritical>]
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parametri

info
SerializationInfo

Oggetto SerializationInfo contenente le informazioni necessarie per serializzare l'oggetto Collection.A SerializationInfo object containing the information required to serialize the Collection object.

context
StreamingContext

Un oggetto StreamingContext contenente l'origine e la destinazione del flusso serializzato associato all'oggetto Collection.A StreamingContext object containing the source and destination of the serialized stream associated with the Collection object.

Implementazioni

Attributi

Commenti

Questo metodo restituisce i dati necessari per serializzare l' Collection oggetto.This method returns the data needed to serialize the Collection object.

Si applica a

Vedi anche