Export (0) Print
Expand All

ConfigurationPropertyCollection.Item Property

Gets the collection item with the specified name.

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

public ConfigurationProperty this[
	string name
] { get; }

Parameters

name
Type: System.String

The ConfigurationProperty to return.

Property Value

Type: System.Configuration.ConfigurationProperty
The ConfigurationProperty with the specified name.

The following example shows how to use the Count property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft