Tries to convert any object to double, based on
TryToDbl(Object,Boolean,Double).
シンタックス
'宣言
Public Function TryToInt( _
ByVal As System.Object, _
ByVal As System.Boolean, _
ByRef As System.Integer _
) As System.Boolean
'使用法
Dim instance As ScriptEngineContext
Dim o As System.Object
Dim nullAsZero As System.Boolean
Dim value As System.Integer
Dim value As System.Boolean
value = instance.TryToInt(o, nullAsZero, value)
public System.bool TryToInt(
System.object ,
System.bool ,
out System.int
)
パラメータ
- o
- nullAsZero
- value
参照