Click or drag to resize
MimeKit

InternetAddressListParse Method (ParserOptions, String)

Parses the given text into a new InternetAddressList instance.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.2.0
Syntax
C#
public static InternetAddressList Parse(
	ParserOptions options,
	string text
)

Parameters

options
Type: MimeKitParserOptions
The parser options to use.
text
Type: SystemString
The text.

Return Value

Type: InternetAddressList
The parsed InternetAddressList.
Exceptions
ExceptionCondition
ArgumentNullException

options is null.

-or-

text is null.

ParseExceptiontext could not be parsed.
Remarks
Parses a list of addresses from the specified text.
See Also