StringBuilder.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Popola un oggetto SerializationInfo con i dati necessari per deserializzare l'oggetto StringBuilder corrente.Populates a SerializationInfo object with the data necessary to deserialize the current StringBuilder 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
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo

Oggetto da popolare con le informazioni sulla serializzazione.The object to populate with serialization information.

context
StreamingContext

Posizione di archiviazione e recupero dei dati serializzati.The place to store and retrieve serialized data. Riservato per utilizzi futuri.Reserved for future use.

Implements

Attributes

Exceptions

info è null.info is null.

Remarks

Il context parametro è riservato per utilizzi futuri e non partecipa a questa operazione.The context parameter is reserved for future use and does not participate in this operation.

Per altre informazioni, vedere il metodo SerializationInfo.AddValue(String, Object, Type).For more information, see the SerializationInfo.AddValue(String, Object, Type) method.

Applies to