FlexReport for WinForms
ToInt(Object,Boolean) メソッド


C1.Report アセンブリ > C1.Report.ScriptEngine 名前空間 > ScriptEngineContext クラス > ToInt メソッド : ToInt(Object,Boolean) メソッド
Convert any object to int, simple call ToDbl(Object,Boolean) (int)ToDbl(o, nullAsZero).
シンタックス
'宣言
 
Public Overloads Function ToInt( _
   ByVal o As System.Object, _
   ByVal nullAsZero As System.Boolean _
) As System.Integer
'使用法
 
Dim instance As ScriptEngineContext
Dim o As System.Object
Dim nullAsZero As System.Boolean
Dim value As System.Integer
 
value = instance.ToInt(o, nullAsZero)
public System.int ToInt( 
   System.object o,
   System.bool nullAsZero
)

パラメータ

o
nullAsZero
参照

参照

ScriptEngineContext クラス
ScriptEngineContext メンバ
オーバーロード一覧