Back to product page

Item property (HttpHeaders)


References specific header in the collection.

Type

A HttpHeader object. Reference to requested HttpHeader object.

Syntax

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

Remarks

This property will return one 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