Guid
Summary
Constructors
| Guid(guid: string, format: string = ‘D’) |
Properties
| Name | Type |
|---|---|
| a | int |
| b | int |
| c | int |
| d | int |
| e | int |
| f | int |
| g | int |
| h | int |
| i | int |
| j | int |
| k | int |
Methods
| Method | Returns |
|---|---|
| ToString(format: string = ‘D’) | string |
| Clone() | Guid |
Operators
| Operator | Rhs | Returns |
|---|---|---|
| == | Guid | bool |
Constructors
Guid
Guid(guid: string, format: string = ‘D’)
Parses a GUID string into a Guid type. The format parameter can be one of the following values and dictates how to parse the string:
D: GUID with dashes (eg.68F0A461-A947-40E1-BEC4-992EFDFF3735)N: GUID without dashes (eg.68F0A461A94740E1BEC4992EFDFF3735)B: GUID with dashes and braces (eg.{68F0A461-A947-40E1-BEC4-992EFDFF3735})P: GUID with dashes and parentheses (eg.(68F0A461-A947-40E1-BEC4-992EFDFF3735))
Parameters
| Name | Type | Description |
|---|---|---|
| guid | string | |
| format | string | The format the GUID string is in. |
Properties
a
int
b
int
c
int
d
int
e
int
f
int
g
int
h
int
i
int
j
int
k
int
Methods
ToString
ToString(format: string = ‘D’): string
Converts the Guid to its string representation. The format parameter can be one of the following values:
D: GUID with dashes (eg.68F0A461-A947-40E1-BEC4-992EFDFF3735)N: GUID without dashes (eg.68F0A461A94740E1BEC4992EFDFF3735)B: GUID with dashes and braces (eg.{68F0A461-A947-40E1-BEC4-992EFDFF3735})P: GUID with dashes and parentheses (eg.(68F0A461-A947-40E1-BEC4-992EFDFF3735))
Parameters
| Name | Type | Description |
|---|---|---|
| format | string | The way to format the GUID string. |
Returns
| Type | Description |
|---|---|
| string |
Clone
Clone(): Guid
Returns
| Type | Description |
|---|---|
| Guid |
Operators
operator==
operator==(rhs: Guid): bool
Parameters
| Name | Type | Description |
|---|---|---|
| rhs | Guid |
Returns
| Type | Description |
|---|---|
| bool |
Last modified October 9, 2022: Update changelog for 19549 (507929a4)