ResXDataNode.ISerializable.GetObjectData(SerializationInfo, StreamingContext) 方法

定義

SerializationInfo 物件中填入序列化目標物件所需的資料。Populates a SerializationInfo object 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);
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 (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

si
SerializationInfo

要填入資料的物件。An object to populate with data.

context
StreamingContext

這個序列化的目的端。The destination for this serialization.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ResXDataNode 執行個體轉換成 ISerializable 介面時,才能使用這個成員。It can be used only when the ResXDataNode instance is cast to an ISerializable interface.

適用於