Here we will see how to use the Guid Datatype in LightSwitch Visual Studio 2012.
The following table shows the various format patterns for the Guid Datatype.
|
Format |
Description |
Displayed Result |
| N | Displays 32 characters. | 3261a3cfc18f4747b957e5264b6a430c |
| D | Displays 32 characters separated by hyphens. | 3261a3cf-c18f-4747-b957-e5264b6a430c |
| B | Displays 32 characters separated by hyphens and enclosed in braces. | {3261a3cf-c18f-4747-b957-e5264b6a430c } |
| P | Displays 32 characters separated by hyphens and enclosed in parentheses. | (3261a3cf-c18f-4747-b957-e5264b6a430c) |
| X | Displays four hexadecimal values enclosed in braces, where the fourth value is a subset of eight hexadecimal values enclosed in another set of braces. | {0x3261a3cf,0xc18f,0x4747,{0xb0,0x57,0xe5,0x26,0x4b,0x6a,0x43,0x0c}} |















Join the conversation! Your thoughts help the community grow.