IntPtr.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Rellena un objeto SerializationInfo con los datos necesarios para serializar el objeto IntPtr actual.Populates a SerializationInfo object with the data needed to serialize the current IntPtr 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
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo

Objeto SerializationInfo que se rellenará con datos.The SerializationInfo object to populate with data.

context
StreamingContext

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

Implements

Attributes

Exceptions

info es null.info is null.

Remarks

Este método rellena el parámetro info con el valor del objeto IntPtr actual.This method populates the info parameter with the value of the current IntPtr object.

Applies to