次の方法で共有


NSUrlRequest.Item[String] プロパティ

定義

指定した HTTP ヘッダーの値を取得します。

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

パラメーター

key
String

HTTP ヘッダー名。

プロパティ値

注釈

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

適用対象