ConfigurationElementCollection.BaseGetKey(Int32) Method

Definition

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

protected:
 System::Object ^ BaseGetKey(int index);
protected public:
 System::Object ^ BaseGetKey(int index);
protected object BaseGetKey (int index);
protected internal object BaseGetKey (int index);
member this.BaseGetKey : int -> obj
Protected Function BaseGetKey (index As Integer) As Object
Protected Friend Function BaseGetKey (index As Integer) As Object

Parameters

index
Int32

The index location for the ConfigurationElement.

Returns

The key for the specified ConfigurationElement.

Exceptions

index is less than 0.

-or-

There is no ConfigurationElement at the specified index.

Applies to