Creates a new Guid from a string representation.
- g
- The Guid string.
Two Guid formats are acceptable. The first format is: "{FFFFFFFF-FFFF-FFFF-FF-FFFFFFFFFFFFFF}". An F is a hexidecimal digit. The braces may be parenthesis or omitted, and the dashes may be omitted (all or none).
The second format is: "{0xFFFFFFFF,0xFFFF,0xFFFF,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}}".
A FormatException is throw if the format of the string does not match one of the above formats.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0