Megosztás a következőn keresztül:


IHttpMessage.ContainsHeader(String) Method

Definition

Checks if a certain header is present in this message.

[Android.Runtime.Register("containsHeader", "(Ljava/lang/String;)Z", "GetContainsHeader_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool ContainsHeader (string? name);
[<Android.Runtime.Register("containsHeader", "(Ljava/lang/String;)Z", "GetContainsHeader_Ljava_lang_String_Handler:Org.Apache.Http.IHttpMessageInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ContainsHeader : string -> bool

Parameters

name
String

the header name to check for.

Returns

Attributes

Remarks

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.

Applies to