Unique Id RangeTry Parse(String, UInt 32, Unique Id Range) Method
Attempt to parse a unique identifier range.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
if the unique identifier range was successfully parsed; otherwise, false..
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public static bool TryParse(
string token,
uint validity,
out UniqueIdRange range
)Parameters
- token String
- The token to parse.
- validity UInt32
- The UIDVALIDITY value.
- range UniqueIdRange
- The unique identifier range.
Return Value
Booleanif the unique identifier range was successfully parsed; otherwise, false..
Remarks
Attempts to parse a unique identifier range.
Exceptions
| ArgumentNullException | token is . |