 | HeaderListIndexOf(String) Method |
Get the index of the requested header, if it exists.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic int IndexOf(
string field
)
Parameters
- field String
- The name of the header field.
Return Value
Int32The index of the requested header; otherwise
Field Value
Int32-1.
Exceptions
Remarks
Finds the first index of the specified header, if it exists.
See Also