語言

AuthenticationModuleElementCollection.Item[] 屬性

定義

取得或設定具有指定索引或鍵的元素。

多載

名稱 Description
Item[Int32]

取得或設定元素在集合中指定的位置。

Item[String]

取得或設定具有指定索引鍵的專案。

Item[Int32]

取得或設定元素在集合中指定的位置。

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

參數

index
Int32

元素的零基指數。

屬性值

他們 AuthenticationModuleElement 在指定的地點。

另請參閱

適用於

Item[String]

取得或設定具有指定索引鍵的專案。

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

參數

name
String

集合中元素的鍵。

屬性值

AuthenticationModuleElement若沒有指定鍵的元素,則使用指定鍵null。

另請參閱

適用於