WebRequestModuleElementCollection.Item[] プロパティ

定義

指定したインデックスまたはキーを持つ要素を取得または設定します。

オーバーロード

Item[Int32]

コレクション内の指定位置の要素を取得または設定します。

Item[String]

指定したキーを持つ要素を取得または設定します。

Item[Int32]

コレクション内の指定位置の要素を取得または設定します。

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

パラメーター

index
Int32

要素の 0 から始まるインデックス。

プロパティ値

指定した位置にある WebRequestModuleElement

適用対象

Item[String]

指定したキーを持つ要素を取得または設定します。

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

パラメーター

name
String

コレクション内の要素のキー。

プロパティ値

指定したキーを持つ WebRequestModuleElement。指定したキーを持つ要素が存在しない場合は null

適用対象