Share via


NSUrlRequest.Item[String] Propriedade

Definição

Obtém o valor do cabeçalho HTTP especificado.

public string this[string key] { get; }
member this.Item(string) : string

Parâmetros

key
String

Nome do Cabeçalho HTTP.

Valor da propriedade

Comentários

void DumpLenght (NSUrlRequest request)
{
    Console.WriteLine ("The content lenght is: {0}", request ["Content-Length"]);
}

Aplica-se a