Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed.
'Declaration
Public Shared Function FromObject( _
ByVal As Object _
) As Unit
Parameters
- obj
- An object to convert.
Return Value
A unit value representing .