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);
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).

实现

属性

适用于