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.
ConfigurationElementCollection::EmitClear Property
.NET Framework (current version)
Gets or sets a value that specifies whether the collection has been cleared.
Assembly: System.Configuration (in System.Configuration.dll)
Property Value
Type: System::Booleantrue if the collection has been cleared; otherwise, false. The default is false.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | The configuration is read-only. |
Setting the EmitClear property to true causes a <clear> directive to be written to the configuration file when the collection is serialized.
.NET Framework
Available since 2.0
Available since 2.0
Show: