Font.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Font.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Font.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

定義

將序列化目標物件所需的資料填入 SerializationInfoPopulates a SerializationInfo with the data needed to serialize the target object.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

si
SerializationInfo SerializationInfo SerializationInfo

要以資料填入的 SerializationInfoThe SerializationInfo to populate with data.

context
StreamingContext StreamingContext StreamingContext

這個序列化的目的端 (請參閱 StreamingContext)。The destination (see StreamingContext) for this serialization.

實作

適用於