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

Definition

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;
[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

info
SerializationInfo SerializationInfo SerializationInfo

The object to populate with serialization information.

context
StreamingContext StreamingContext StreamingContext

The place to store and retrieve serialized data. Reserved for future use.

Implements

Exceptions

Remarks

The context parameter is reserved for future use and does not participate in this operation.

For more information, see the SerializationInfo.AddValue(String, Object, Type) method.

Security

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

Applies to