GuidFormat

Overview

Enumerated type that that indicates how to format the value of Guid.

You can use this enum to specify how string representation of Guid is generated:

  var Id := Guid.NewGuid;
  Id.ToString(GuidFormat.Braces);

Location

  • Reference: Sugar
  • Namespace: Sugar


Value Description
Braces 32 digits separated by hyphens, enclosed in braces:
{00000000-0000-0000-0000-000000000000}
Default 32 digits separated by hyphens:
00000000-0000-0000-0000-000000000000
Parentheses 32 digits separated by hyphens, enclosed in parentheses:
(00000000-0000-0000-0000-000000000000)