Click or drag to resize
MimeKit

DomainListTryParse Method

Try to parse a list of domains.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static bool TryParse(
	string text,
	out DomainList route
)

Parameters

text  String
The text to parse.
route  DomainList
The parsed DomainList.

Return Value

Boolean
true if a DomainList was successfully parsed; false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
Remarks
Attempts to parse a DomainList from the supplied text. The index will only be updated if a DomainList was successfully parsed.
See Also