語言

SchemeSettingElementCollection.Item[] 屬性

定義

存取該 SchemeSettingElementCollection 類別的一個實例。

多載

名稱 Description
Item[Int32]

在集合中 SchemeSettingElementCollection 取得指定索引的項目。

Item[String]

從收藏中取得一件物品 SchemeSettingElementCollection 。

Item[Int32]

來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs

在集合中 SchemeSettingElementCollection 取得指定索引的項目。

public:
 property System::Configuration::SchemeSettingElement ^ default[int] { System::Configuration::SchemeSettingElement ^ get(int index); };
public System.Configuration.SchemeSettingElement this[int index] { get; }
member this.Item(int) : System.Configuration.SchemeSettingElement
Default Public ReadOnly Property Item(index As Integer) As SchemeSettingElement

參數

index
Int32

回來的索引 SchemeSettingElement 。

屬性值

指定的 SchemeSettingElement。

例外狀況

參數 index 小於零。

-或-

參數指定的項目為 null 或已被移除。

備註

使用該Item[]屬性來取得或設定該類別中包含的SchemeSettingElement指定SchemeSettingElementCollection物件。

另請參閱

適用於

Item[String]

來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs
來源:
SchemeSettingElementCollection.cs

從收藏中取得一件物品 SchemeSettingElementCollection 。

public:
 property System::Configuration::SchemeSettingElement ^ default[System::String ^] { System::Configuration::SchemeSettingElement ^ get(System::String ^ name); };
public System.Configuration.SchemeSettingElement this[string name] { get; }
member this.Item(string) : System.Configuration.SchemeSettingElement
Default Public ReadOnly Property Item(name As String) As SchemeSettingElement

參數

name
String

一個指向集合中物件的 SchemeSettingElement 字串參考。

屬性值

收藏中的一件 SchemeSettingElement 物品。

備註

回傳價值是指 null 找不到該物品或已被移除。

另請參閱

適用於