ConfigurationElementCollection::BaseGet Method (Int32)


Gets the configuration element at the specified index location.

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

public protected:
ConfigurationElement^ BaseGet(
	int index


Type: System::Int32

The index location of the ConfigurationElement to return.

Return Value

Type: System.Configuration::ConfigurationElement^

The ConfigurationElement at the specified index.

Exception Condition

index is less than 0.

- or -

There is no ConfigurationElement at the specified index.

The following code example shows how to call the BaseGet method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top