ConnectionManagementElementCollection.Item[] Property

Definition

Gets or sets the element with the specified index or key.

Overloads

Item[Int32]

Gets or sets the element at the specified position in the collection.

Item[String]

Gets or sets the element with the specified key.

Item[Int32]

Gets or sets the element at the specified position in the collection.

C#
public System.Net.Configuration.ConnectionManagementElement this[int index] { get; set; }

Parameters

index
Int32

The zero-based index of the element.

Property Value

The ConnectionManagementElement at the specified location.

See also

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Item[String]

Gets or sets the element with the specified key.

C#
public System.Net.Configuration.ConnectionManagementElement this[string name] { get; set; }

Parameters

name
String

The key for an element in the collection.

Property Value

The ConnectionManagementElement with the specified key or null if there is no element with the specified key.

See also

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1