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:
property ConfigurationElementType default[
	int index
] {
	ConfigurationElementType get(int index);
	void set(int index, ConfigurationElementType value);
}

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: