Szerkesztés

Megosztás a következőn keresztül:


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:
 property System::Net::Configuration::BypassElement ^ default[int] { System::Net::Configuration::BypassElement ^ get(int index); void set(int index, System::Net::Configuration::BypassElement ^ value); };
public System.Net.Configuration.BypassElement this[int index] { get; set; }
member this.Item(int) : System.Net.Configuration.BypassElement with get, set
Default Public Property Item(index As Integer) As BypassElement

Parameters

index
Int32

The zero-based index of the element.

Property Value

The BypassElement at the specified location.

Applies to

Item[String]

Gets or sets the element with the specified key.

public:
 property System::Net::Configuration::BypassElement ^ default[System::String ^] { System::Net::Configuration::BypassElement ^ get(System::String ^ name); void set(System::String ^ name, System::Net::Configuration::BypassElement ^ value); };
public System.Net.Configuration.BypassElement this[string name] { get; set; }
member this.Item(string) : System.Net.Configuration.BypassElement with get, set
Default Public Property Item(name As String) As BypassElement

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