Back to product page

Remove method


Removes header from the collection.

Syntax

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

Remarks

This method removes header from the collection. You can specify Index to be header's name (Cookie, User-Agent,...), or you can specify it's index, starting from 0.

Platforms

Windows