TimeZoneInfo.TransitionTime.ISerializable.GetObjectData(SerializationInfo, StreamingContext) 方法

定義

SerializationInfo 物件中填入將這個物件序列化時所需的資料。Populates a SerializationInfo object with the data that is required to serialize this object.

 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);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

info
SerializationInfo

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

context
StreamingContext

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

實作

屬性

安全性

SecurityCriticalAttribute
需要完全信任立即呼叫者。requires full trust for the immediate caller. 部分信任或透明的程式碼無法使用這個成員。This member cannot be used by partially trusted or transparent code.

適用於