Conversions.ToInteger メソッド

定義

指定したオブジェクトを整数値に変換します。

オーバーロード

名前 説明
ToInteger(Object)

オブジェクトを整数値に変換します。

ToInteger(String)

文字列を整数値に変換します。

ToInteger(Object)

オブジェクトを整数値に変換します。

public:
 static int ToInteger(System::Object ^ Value);
public static int ToInteger(object Value);
static member ToInteger : obj -> int
Public Shared Function ToInteger (Value As Object) As Integer

パラメーター

Value
Object

変換するオブジェクト。

返品

オブジェクトの int 値。

適用対象

ToInteger(String)

文字列を整数値に変換します。

public:
 static int ToInteger(System::String ^ Value);
public static int ToInteger(string Value);
static member ToInteger : string -> int
Public Shared Function ToInteger (Value As String) As Integer

パラメーター

Value
String

変換する文字列。

返品

文字列の int 値。

適用対象