Click or drag to resize

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: 13.0.35.1008
Syntax
public int IndexOf(
	HeaderId id
)

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