Back to product page

Remove method (HttpHeaders)


Removes header from the collection.

Type

None

Syntax

  • Basic
objectI.Remove Index
The Remove(object,Index) syntax has these parts:
objectAn expression evaluating to an object of type HttpHeaders.
IndexRequired. A Variant value. String expression as header name, of integer as header index.

Remarks

Remove method will remove one header from the collection. You can specify header's name (Cookie, User-Agent, ...), or specify it's index, relative to 0.

Platforms

Windows