Back to product page

Item property


References specific header in the collection.

Type

WebHeader object

Syntax

  • Basic
object.Item (Index)
The Item(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

Item property will return reference to specific header from the collection. It can be used both for Request and Response objects. After you get reference to the header, you can access its Name and Value properties, update them, etc..

Platforms

Windows