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.

返回

Int32

转换后的 valueThe converted value.

适用于