Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed.
シンタックス
'宣言
Public Shared Function FromObject( _
ByVal As System.Object _
) As Unit
'使用法
Dim obj As System.Object
Dim value As Unit
value = Unit.FromObject(obj)
public static Unit FromObject(
System.object
)
パラメータ
- obj
- An object to convert.
戻り値の型
A unit value representing .
参照