ConversionToGuid(String, Guid) Method

Return a Guid value from the specified string.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static Guid ToGuid(
	string value,
	Guid defaultValue
)

Parameters

value  String
String Version of Guid.
defaultValue  Guid
Value to be returned if the string can not be converted.

Return Value

Guid
Guid value converted from the caller's string.

See Also