Editar

Compartir vía


HttpHeaders.Remove(Text) Method

Version: Available or changed with runtime version 1.0.

Removes the specified header from the HttpHeaders collection.

Syntax

[Ok := ]  HttpHeaders.Remove(Name: Text)

Parameters

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

Name
 Type: Text
The name of the header to remove from the collection.

Return Value

[Optional] Ok
 Type: Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if the given header was not found in the HttpHeaders collection. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

HttpHeaders Data Type
Get Started with AL
Developing Extensions