Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static Unit FromObject(
	Object obj
)
Visual Basic
Public Shared Function FromObject ( _
	obj As Object _
) As Unit

Parameters

obj
Type: System..::..Object
An object to convert.

Return Value

A unit value representing obj.

See Also