C-DEngine 5.105

TheCommonUtils..::..CGuid Method

Converts an object to a Guid.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static Guid CGuid(
	Object inObj
)
Public Shared Function CGuid ( _
	inObj As Object _
) As Guid
public:
static Guid^ CGuid(
	Object^ inObj
)

Parameters

inObj
Type: Object
Input to be converted.

Return Value

The converted value.

Remarks


A safe, efficient function to convert any input to a Guid value. Safe means that no unhandled exceptions are generated. A null input value returns Guid.Empty. Any invalid input value returns Guid.Empty.