KeyValueConfigurationCollection::Item Property (String^)
.NET Framework (current version)
Gets the KeyValueConfigurationElement object based on the supplied parameter.
Assembly: System.Configuration (in System.Configuration.dll)
public: property KeyValueConfigurationElement^ default[ String^ key ] { KeyValueConfigurationElement^ get(String^ key); }
Parameters
- key
-
Type:
System::String^
The key of the KeyValueConfigurationElement contained in the collection.
Property Value
Type: System.Configuration::KeyValueConfigurationElement^A configuration element, or null if the key does not exist in the collection.
Use the Item property to get a KeyValueConfigurationElement object in the collection based on the key parameter.
.NET Framework
Available since 2.0
Available since 2.0
Show: