SchemeSettingElementCollection.Item[] プロパティ

定義

SchemeSettingElementCollection クラスのインスタンスにアクセスします。

オーバーロード

Item[Int32]

SchemeSettingElementCollection コレクション内の指定したインデックス位置にある項目を取得します。

Item[String]

SchemeSettingElementCollection コレクションから項目を取得します。

Item[Int32]

ソース:
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 パラメーターが 0 未満。

- または -

パラメーターで指定された項目が null であるか、削除されています。

注釈

プロパティを使用して、Item[]このSchemeSettingElementCollectionクラスに含まれる指定されたSchemeSettingElementオブジェクトを取得または設定します。

こちらもご覧ください

適用対象

Item[String]

ソース:
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 アイテムが見つからないか削除されている場合です。

こちらもご覧ください

適用対象