KeyValueConfigurationElement::Key Property
.NET Framework (current version)
Gets the key of the KeyValueConfigurationElement object.
Assembly: System.Configuration (in System.Configuration.dll)
public: [ConfigurationPropertyAttribute("key", Options = ConfigurationPropertyOptions::IsKey, DefaultValue = "")] property String^ Key { String^ get(); }
The following code example demonstrates how to use the Key property. This code example is part of a larger example provided for the KeyValueConfigurationCollection class overview.
.NET Framework
Available since 2.0
Available since 2.0
Show: