BaseGetKey Method

ConfigurationElementCollection.BaseGetKey Method (Int32)

 

Gets the key for the ConfigurationElement at the specified index location.

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

protected internal object BaseGetKey(
	int index
)

Parameters

index
Type: System.Int32

The index location for the ConfigurationElement.

Return Value

Type: System.Object

The key for the specified ConfigurationElement.

Exception Condition
ConfigurationErrorsException

index is less than 0.

- or -

There is no ConfigurationElement at the specified index.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft