IFormatterConverter.ToInt16(Object) 方法

定義

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

public:
 short ToInt16(System::Object ^ value);
public short ToInt16 (object value);
abstract member ToInt16 : obj -> int16
Public Function ToInt16 (value As Object) As Short

參數

value
Object

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

傳回

已轉換的 valueThe converted value.

適用於