Determines if a string represents a guid.
A string is a guid if it matches one of three Regex Expressions for standard guid formatting:
A 32 character string a-f0-9,
A 36 character string a-f0-9 with formatting dashes,
A 38 character string a-f0-9 with formatting dashes enclosed in curly braces.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool IsGuid(
string guid
)
Public Shared Function IsGuid (
guid As String
) As Boolean
Parameters
- guid
- Type: SystemString
The string to test for it's guidness.
Return Value
Type:
BooleanTrue if the string is formatted as a guid.
See Also