ConfigurationElementCollection.BaseGet Method (Object)
.NET Framework 4.6 and 4.5
Returns the configuration element with the specified key.
Namespace: System.Configuration
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- key
- Type: System.Object
The key of the element to return.
Return Value
Type: System.Configuration.ConfigurationElementThe ConfigurationElement with the specified key; otherwise, null.
The BaseGet method returns null if there is no ConfigurationElement object with the specified key in the collection.
Show: