ConfigurationSectionCollection.GetObjectData Method (SerializationInfo, StreamingContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Used by the system during serialization.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context

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

.NET Framework
Available since 2.0
Return to top