Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationSectionGroup::ForceDeclaration Method ()

 

Forces the declaration for this ConfigurationSectionGroup object.

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

public:
void ForceDeclaration()

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: