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

Definition

Populates a SerializationInfo object with the data needed to serialize the current TimeZoneInfo 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

Parameters

context
StreamingContext StreamingContext StreamingContext

The destination for this serialization (see StreamingContext).

Implements

Exceptions

Security

SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to