Return a guid value from a string or Guid.Empty if the string is null or empty.
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function ToGuid ( _ guid As String _ ) As Guid |
| C# |
|---|
public static Guid ToGuid( string guid ) |
Parameters
- guid
- Type: System..::..String