StringUtils.ParseGuid method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Strings |
---|---|
Assembly | Skybrud.Essentials.dll |
ParseGuid(string)
Static
Parses the specified str
into an instance of Guid . If the parsing fails,
the default value of Guid will be returned instead.
public static Guid ParseGuid(string str)
Parameters
str
String
The string to be parsed.
ParseGuid(string, Guid)
Static
Parses the specified str
into an instance of Guid . If the parsing fails,
fallback
will be returned instead.
public static Guid ParseGuid(string str, Guid fallback)