TimeZoneInfo.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Compila un oggetto SerializationInfo con i dati necessari per serializzare l'oggetto TimeZoneInfo corrente.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;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
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
[<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

Parametri

info
SerializationInfo

Oggetto SerializationInfo da popolare con i dati.The SerializationInfo object to populate with data.

context
StreamingContext

Destinazione della serializzazione (vedere StreamingContext).The destination for this serialization (see StreamingContext).

Implementazioni

Attributi

Eccezioni

Il valore del parametro info è null.The info parameter is null.

Si applica a