ConfigurationElementCollection.EmitClear Propriedade
Definição
Obtém ou define um valor que especifica se a coleção foi limpa.Gets or sets a value that specifies whether the collection has been cleared.
public:
property bool EmitClear { bool get(); void set(bool value); };
public bool EmitClear { get; set; }
member this.EmitClear : bool with get, set
Public Property EmitClear As Boolean
Valor da propriedade
true se a coleção foi limpa; caso contrário, false .true if the collection has been cleared; otherwise, false. O padrão é false.The default is false.
Exceções
A configuração é somente leitura.The configuration is read-only.
Comentários
Definir a EmitClear propriedade como true faz com que uma <clear> diretiva seja gravada no arquivo de configuração quando a coleção é serializada.Setting the EmitClear property to true causes a <clear> directive to be written to the configuration file when the collection is serialized.