Group AddressParse(String) Method
Parse the given text into a new GroupAddress instance.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The parsed GroupAddress.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static GroupAddress Parse(
string text
)Parameters
- text String
- The text.
Return Value
GroupAddressThe parsed GroupAddress.
Remarks
Parses a single GroupAddress. If the address is not a group address or
there is more than a single group address, then parsing will fail.
Exceptions
| ArgumentNullException | text is . |
| ParseException | text could not be parsed. |