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