WebRequestModuleElementCollection.Item[] Propriedade

Definição

Obtém ou define o elemento com o índice ou a chave especificada.Gets or sets the element with the specified index or key.

Sobrecargas

Item[Int32]

Obtém ou define o elemento na posição especificada na coleção.Gets or sets the element at the specified position in the collection.

Item[String]

Obtém ou define o elemento com a chave especificada.Gets or sets the element with the specified key.

Item[Int32]

Obtém ou define o elemento na posição especificada na coleção.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

Parâmetros

index
Int32

O índice de base zero do elemento.The zero-based index of the element.

Valor da propriedade

WebRequestModuleElement

O WebRequestModuleElement no local especificado.The WebRequestModuleElement at the specified location.

Aplica-se a

Item[String]

Obtém ou define o elemento com a chave especificada.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

Parâmetros

name
String

A chave de um elemento na coleção.The key for an element in the collection.

Valor da propriedade

WebRequestModuleElement

O WebRequestModuleElement com a chave especificada ou null se não houver nenhum elemento com a chave especificada.The WebRequestModuleElement with the specified key or null if there is no element with the specified key.

Aplica-se a