Return a guid value from a string or Guid.Empty if the string is null or empty.

Namespace:  Devolutions.Utils
Assembly:  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

Return Value

See Also