URLConnection.GetHeaderFieldKey(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the key for the n
<sup>th</sup> header field.
[Android.Runtime.Register("getHeaderFieldKey", "(I)Ljava/lang/String;", "GetGetHeaderFieldKey_IHandler")]
public virtual string? GetHeaderFieldKey (int n);
[<Android.Runtime.Register("getHeaderFieldKey", "(I)Ljava/lang/String;", "GetGetHeaderFieldKey_IHandler")>]
abstract member GetHeaderFieldKey : int -> string
override this.GetHeaderFieldKey : int -> string
Parameters
- n
- Int32
an index, where n>=0
Returns
the key for the n
<sup>th</sup> header field,
or null
if there are fewer than n+1
fields.
- Attributes
Remarks
Returns the key for the n
<sup>th</sup> header field. It returns null
if there are fewer than n+1
fields.
Java documentation for java.net.URLConnection.getHeaderFieldKey(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.