BufferModesCollection.Item[] プロパティ

定義

BufferModeSettings オブジェクトを取得します。

オーバーロード

名前 説明
Item[Int32]

コレクション内の指定した数値インデックスを持つ BufferModeSettings オブジェクトを取得します。

Item[String]

コレクション内の指定したキーに基づいて BufferModeSettings オブジェクトを取得します。

Item[Int32]

コレクション内の指定した数値インデックスを持つ BufferModeSettings オブジェクトを取得します。

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

パラメーター

index
Int32

コレクション内の BufferModeSettings オブジェクトの有効なインデックス。

プロパティ値

指定したインデックス位置にある BufferModeSettings オブジェクト。

次のコード例は、 Item[] メソッドの使用方法を示しています。 このコード例は、 HealthMonitoringSection クラスに提供されるより大きな例の一部です。

bufferModeSetting = healthMonitoringSection.BufferModes[i];
bufferModeSetting = healthMonitoringSection.BufferModes(i)

こちらもご覧ください

適用対象

Item[String]

コレクション内の指定したキーに基づいて BufferModeSettings オブジェクトを取得します。

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

パラメーター

key
String

コレクションに含まれる BufferModeSettings オブジェクトの名前。

プロパティ値

BufferModeSettings オブジェクト。

適用対象