Internet Address ListParse(Parser Options, Byte, Int 32) Method
Parse the given input buffer into a new InternetAddressList instance.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The parsed InternetAddressList.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static InternetAddressList Parse(
ParserOptions options,
byte[] buffer,
int startIndex
)Parameters
- options ParserOptions
- The parser options to use.
- buffer Byte
- The input buffer.
- startIndex Int32
- The starting index of the input buffer.
Return Value
InternetAddressListThe parsed InternetAddressList.
Remarks
Parses a list of addresses from the supplied buffer starting at the specified index.
Exceptions
| ArgumentNullException |
options is . -or- buffer is . |
| ArgumentOutOfRangeException | startIndexis out of range. |
| ParseException | buffer could not be parsed. |