次の方法で共有


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 オブジェクト。

適用対象