Edit

Kongsi melalui


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

Parameters

index
Int32

The zero-based index of the element.

Property Value

The AuthenticationModuleElement at the specified location.

See also

Applies to

Item[String]

Gets or sets the element with the specified key.

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

Parameters

name
String

The key for an element in the collection.

Property Value

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

See also

Applies to