HeaderCollectionIndexOf Method |
Searches for the
Header with specified identifier and returns the zero-based index of the first occurrence within this
HeaderCollection.
Namespace:
GemBox.Email.Mime
Assembly:
GemBox.Email (in GemBox.Email.dll) Version: 15.0.35.1026
Syntax public int IndexOf(
HeaderId id
)
Public Function IndexOf (
id As HeaderId
) As Integer
Parameters
- id
- Type: GemBox.Email.MimeHeaderId
The identifier.
Return Value
Type:
Int32
The zero-based index of the first occurrence of
Header within this
HeaderCollection, if found; otherwise, –1.
See Also