Redigera

Dela via


ActiveDirectoryRole.ISerializable.GetObjectData Method

Definition

Populates a SerializationInfo with the data required to serialize the target 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);
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

The SerializationInfo to populate with data.

context
StreamingContext

The StreamingContext destination for this serialization.

Implements

Remarks

The implementation of ISerializable.GetObjectData(SerializationInfo, StreamingContext) allows this object to be serialized.

Applies to