Checks whether object represents numeric value, i.e. it is byte, integer, float etc and converts it to double. Returns false if object is not number.
シンタックス
'宣言
Public Shared Function TryAsNumber( _
ByVal As System.Object, _
ByRef As System.Double _
) As System.Boolean
public static System.bool TryAsNumber(
System.object ,
out System.double
)
パラメータ
- obj
- Value to check.
- v
- Double value.
戻り値の型
Returns true if contains numeric value.
参照