IFormatterConverter.ToInt32(Object) 方法

定義

將值轉換為 32 位元帶正負號的整數。Converts a value to a 32-bit signed integer.

public:
 int ToInt32(System::Object ^ value);
public int ToInt32 (object value);
abstract member ToInt32 : obj -> int
Public Function ToInt32 (value As Object) As Integer

參數

value
Object

要轉換的物件。The object to be converted.

傳回

已轉換的 valueThe converted value.

適用於