RemoveElementName Property

ConfigurationElementCollection.RemoveElementName Property

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

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

protected internal string RemoveElementName { get; set; }
/** @property */
protected String get_RemoveElementName ()

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

protected internal function get RemoveElementName () : String

protected internal function set RemoveElementName (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 RemoveElementName property.

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


}

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:
© 2016 Microsoft