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

Definition

Populates a SerializationInfo with the data required to serialize the target 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);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

context
StreamingContext StreamingContext StreamingContext

The destination (see StreamingContext) for this serialization.

Implements

Remarks

This method is used internally to serialize object graphs that contain LINQ to XML objects.

Applies to