DateTime.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Compila un oggetto SerializationInfo con i dati necessari per serializzare l'oggetto DateTime corrente.Populates a SerializationInfo object with the data needed to serialize the current DateTime 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);
[System.Security.SecurityCritical]
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
[<System.Security.SecurityCritical>]
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

Parametri

info
SerializationInfo

Oggetto da popolare con i dati.The object to populate with data.

context
StreamingContext

Destinazione per questa serializzazione.The destination for this serialization. Questo parametro non viene usato; specificare null.(This parameter is not used; specify null.)

Implementazioni

Attributi

Eccezioni

info è null.info is null.

Commenti

Questo metodo popola il info parametro con i Ticks valori delle Kind proprietà e.This method populates the info parameter with the Ticks and Kind property values.

Si applica a