BypassElementCollection.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.

public System.Net.Configuration.BypassElement this[int index] { get; set; }

Parameters

index
Int32

The zero-based index of the element.

Property Value

The BypassElement at the specified location.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.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.

public System.Net.Configuration.BypassElement this[string name] { get; set; }

Parameters

name
String

The key for an element in the collection.

Property Value

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

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.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