ConfigurationElementCollection.BaseGetKey Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: