Description
-
References specific header in the collection.
Property type
-
A Header
object.
Syntax
-
object.Item(Index)
The Item Property syntax has these parts:
object |
An expression evaluating to an object
of type Headers. |
Index |
Required. A Variant value. Index of the
header, or header name. |
Remarks
-
Item property is used to access specific header in the
collection of all headers that exist in email message.
Index parameter can be either
integer value, in which case it's between 0 and
Count-1, and
it represents absolute header index in the collection.
Also, it can be string expression that represent header
name, such as 'From', or
'To' or similar. If no such
header exist, error is returned.
Specified Index property as string expression is case
insensitive.
|