Share via


WebRequestModuleElementCollection.Item[] Özellik

Tanım

Belirtilen dizin veya anahtara sahip öğeyi alır veya ayarlar.

Aşırı Yüklemeler

Item[Int32]

Öğeyi koleksiyonda belirtilen konumda alır veya ayarlar.

Item[String]

Belirtilen anahtarla öğesini alır veya ayarlar.

Item[Int32]

Öğeyi koleksiyonda belirtilen konumda alır veya ayarlar.

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

Parametreler

index
Int32

öğesinin sıfır tabanlı dizini.

Özellik Değeri

WebRequestModuleElement Belirtilen konumda.

Şunlara uygulanır

Item[String]

Belirtilen anahtarla öğesini alır veya ayarlar.

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

Parametreler

name
String

Koleksiyondaki bir öğenin anahtarı.

Özellik Değeri

WebRequestModuleElement belirtilen anahtarla veya null belirtilen anahtara sahip öğe yoksa.

Şunlara uygulanır