Domain ListTry Parse Method
Try to parse a list of domains.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if a DomainList was successfully parsed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool TryParse(
string? text,
out DomainList?? route
)Parameters
- text String
- The text to parse.
- route DomainList
- The parsed DomainList.
Return Value
Booleanif a DomainList was successfully parsed; otherwise, .
Remarks
Attempts to parse a DomainList from the supplied text. The index
will only be updated if a DomainList was successfully parsed.