ConfigurationSectionCollection.GetObjectData Method (SerializationInfo, StreamingContext)

 

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
Show: