Export (0) Print
Expand All

ConfigurationElementCollection.ClearElementName Property

Gets or sets the name for the ConfigurationElement to associate with the clear operation in the ConfigurationElementCollection when overridden in a derived class.

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

protected internal string ClearElementName { get; set; }
/** @property */
protected String get_ClearElementName ()

/** @property */
protected void set_ClearElementName (String value)

protected internal function get ClearElementName () : String

protected internal function set ClearElementName (value : String)

Not applicable.

Property Value

The name of the element.

Exception typeCondition

ArgumentException

The selected value starts with the reserved prefix "config" or "lock".

The following code example shows how to use the ClearElementName property.

public new string ClearElementName
{
    get
    { return base.ClearElementName; }

    set
    { base.AddElementName = value; }

}

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft