HttpHeaders.Contains(Text) Method

Version: Available or changed with runtime version 1.0.

Checks if the specified header exists in the HttpHeaders collection.

Syntax

Result :=   HttpHeaders.Contains(Name: Text)

Parameters

HttpHeaders
 Type: HttpHeaders
An instance of the HttpHeaders data type.

Name
 Type: Text
The specific header.

Return Value

Result
 Type: Boolean
true if the specified header exists in the collection; otherwise false.

See Also

HttpHeaders Data Type
Get Started with AL
Developing Extensions