ConfigurationSectionGroupCollection.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Used by the system during serialization.

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

Parameters

info
SerializationInfo

The applicable SerializationInfo object.

context
StreamingContext

The applicable StreamingContext object.

Remarks

The GetObjectData method is used during serialization; that is, when persisting configuration data to a configuration file.

Applies to