Converts an object to a Guid.
Namespace:
nsCDEngine.BaseClasses
Assembly:
C-DEngine (in C-DEngine.dll)
Public Shared Function CGuid ( _
inObj As Object _
) As Guid
Parameters
- inObj
- Type: Object
Input to be converted.
Return Value
The converted value.
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.