AbstractHttpMessage.ContainsHeader(String) 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.
Checks if a certain header is present in this message.
[Android.Runtime.Register("containsHeader", "(Ljava/lang/String;)Z", "GetContainsHeader_Ljava_lang_String_Handler")]
public virtual bool ContainsHeader (string? name);
[<Android.Runtime.Register("containsHeader", "(Ljava/lang/String;)Z", "GetContainsHeader_Ljava_lang_String_Handler")>]
abstract member ContainsHeader : string -> bool
override this.ContainsHeader : string -> bool
Parameters
- name
- String
the header name to check for.
Returns
Implements
- 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.