TimeZoneInfo.AdjustmentRule.ISerializable.GetObjectData(SerializationInfo, StreamingContext) TimeZoneInfo.AdjustmentRule.ISerializable.GetObjectData(SerializationInfo, StreamingContext) TimeZoneInfo.AdjustmentRule.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

定义

使用序列化 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 SerializationInfo SerializationInfo

要填充数据的对象。The object to populate with data.

context
StreamingContext StreamingContext 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.

适用于