Gets or sets a value that specifies whether the collection has been cleared.
Public Property EmitClear As Boolean
Dim instance As ConfigurationElementCollection Dim value As Boolean value = instance.EmitClear instance.EmitClear = value
public bool EmitClear { get; set; }
public: property bool EmitClear { bool get (); void set (bool value); }
public function get EmitClear () : boolean public function set EmitClear (value : boolean)
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98