Export (0) Print
Expand All

KeyValueConfigurationCollection.GetElementKey Method

Gets the element key for a specified configuration element when overridden in a derived class.

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

protected override Object GetElementKey(
	ConfigurationElement element
)

Parameters

element
Type: System.Configuration.ConfigurationElement

The KeyValueConfigurationElement to which the key should be returned.

Return Value

Type: System.Object
An object that acts as the key for the specified KeyValueConfigurationElement.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft