OrderedDictionary.GetObjectData(SerializationInfo, StreamingContext) OrderedDictionary.GetObjectData(SerializationInfo, StreamingContext) OrderedDictionary.GetObjectData(SerializationInfo, StreamingContext) OrderedDictionary.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Implements the ISerializable interface and returns the data needed to serialize the OrderedDictionary collection.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

A SerializationInfo object containing the information required to serialize the OrderedDictionary collection.

context
StreamingContext StreamingContext StreamingContext StreamingContext

A StreamingContext object containing the source and destination of the serialized stream associated with the OrderedDictionary.

Implements

Exceptions

Security

SecurityPermission
Associated enumeration: SerializationFormatter Security action: Link Demand for permission to link to this class.

Applies to