Java.Net.URLConnection.GetHeaderField Method
Returns the header value at the field position pos or null if the header has fewer than pos fields.

Syntax

[Android.Runtime.Register("getHeaderField", "(I)Ljava/lang/String;", "GetGetHeaderField_IHandler")]
public virtual string GetHeaderField (int pos)

Parameters

pos
the field position of the response header.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the header value at the field position pos or null if the header has fewer than pos fields. The base implementation of this method returns always null.

Some implementations (notably HttpURLConnection) include a mapping for the null key; in HTTP's case, this maps to the HTTP status line and is treated as being at position 0 when indexing into the header fields.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1