ConfigurationSectionGroup.ForceDeclaration Method ()

 

Forces the declaration for this ConfigurationSectionGroup object.

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

member ForceDeclaration : unit -> unit

The ForceDeclaration method can force a ConfigurationSectionGroup object to be written to a configuration file, even if it is not required because it is already declared in a parent file.

The following code example shows how to use the ForceDeclaration method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: