ConversionToGuid(Object, Guid) Method

Return a Guid value from the specified object.

Definition

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

Parameters

source  Object
Object to convert to Guid.
defaultValue  Guid
Default Value to use if object can not be converted.

Return Value

Guid
Guid value converted from the caller's value.

See Also