ConfigurationSectionCollection::Keys Property

 

Gets the keys to all ConfigurationSection objects contained in this ConfigurationSectionCollection object.

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

public:
property NameObjectCollectionBase::KeysCollection^ Keys {
	virtual NameObjectCollectionBase::KeysCollection^ get() override;
}

Property Value

Type: System.Collections.Specialized::NameObjectCollectionBase::KeysCollection^

A NameObjectCollectionBase::KeysCollection object that contains the keys of all sections in this collection.

The following example shows how to use the Keys property.

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

.NET Framework
Available since 2.0
Return to top
Show: