ConnectionManagementElementCollection.Item[] 屬性

定義

取得或設定具有指定之索引或機碼的項目。

多載

Item[Int32]

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

Item[String]

取得或設定具有指定索引鍵的項目。

Item[Int32]

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

public:
 property System::Net::Configuration::ConnectionManagementElement ^ default[int] { System::Net::Configuration::ConnectionManagementElement ^ get(int index); void set(int index, System::Net::Configuration::ConnectionManagementElement ^ value); };
public System.Net.Configuration.ConnectionManagementElement this[int index] { get; set; }
member this.Item(int) : System.Net.Configuration.ConnectionManagementElement with get, set
Default Public Property Item(index As Integer) As ConnectionManagementElement

參數

index
Int32

元素以零起始的索引。

屬性值

位於指定位置處的 ConnectionManagementElement

另請參閱

適用於

Item[String]

取得或設定具有指定索引鍵的項目。

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

參數

name
String

集合中項目的索引鍵。

屬性值

附指定索引鍵的 ConnectionManagementElement,如果沒有附指定索引鍵的項目則為 null

另請參閱

適用於