Uređivanje

Dijeli putem


WebRequestModuleElementCollection.Item[] Property

Definition

Gets or sets the element with the specified index or key.

Overloads

Item[Int32]

Gets or sets the element at the specified position in the collection.

Item[String]

Gets or sets the element with the specified key.

Item[Int32]

Gets or sets the element at the specified position in the collection.

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

Parameters

index
Int32

The zero-based index of the element.

Property Value

The WebRequestModuleElement at the specified location.

Applies to

Item[String]

Gets or sets the element with the specified key.

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

Parameters

name
String

The key for an element in the collection.

Property Value

The WebRequestModuleElement with the specified key or null if there is no element with the specified key.

Applies to