Description
-
References specific header in the collection.
Property type
-
A SmtpHeader
object. Reference to requested Header
object.
Syntax
-
object.Item(Index)
The Item Property syntax has these parts:
object |
An expression
evaluating to an object of type SmtpHeaders. |
Index |
Required. A Variant
value. Specifies index of the header, or the
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. String
expression is case insensitive.
|