ServiceModelConfigurationElementCollection<ConfigurationElementType>.Item Property (Int32)

 

Gets or sets a property, attribute, or child element of a ConfigurationElement object with the specified index.

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

public ConfigurationElementType this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The index of the element to be accessed.

Property Value

Type: ConfigurationElementType

The item located at the specified index within the collection.

Exception Condition
ArgumentNullException

index is null.

.NET Framework
Available since 3.0
Return to top
Show: