DateTime.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Método

Definición

Rellena un objeto SerializationInfo con los datos necesarios para serializar el objeto DateTime actual.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

Parámetros

info
SerializationInfo

Objeto que se va a rellenar con datos.The object to populate with data.

context
StreamingContext

Destino de esta serialización.The destination for this serialization. (Este parámetro no se usa; especifique null).(This parameter is not used; specify null.)

Implementaciones

Atributos

Excepciones

info es null.info is null.

Comentarios

Este método rellena el info parámetro con los valores de las Ticks Kind propiedades y.This method populates the info parameter with the Ticks and Kind property values.

Se aplica a