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

定義

將從已序列化之資料來源取得的資料填入目前的 PeerObject 執行個體。Populates the current PeerObject instance with the data obtained from the serialized source.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
[System.Security.SecurityCritical]
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<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

參數

info
SerializationInfo

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

context
StreamingContext

序列化的目的端。The destination for the serialization.

實作

屬性

適用於

另請參閱