ShortType.FromObject(Object) 方法
定义
返回一个对应于指定对象的 Short 值。Returns a Short value that corresponds to the specified object.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static short FromObject(System::Object ^ Value);
public static short FromObject (object? Value);
public static short FromObject (object Value);
static member FromObject : obj -> int16
Public Shared Function FromObject (Value As Object) As Short
Public Function FromObject (Value As Object) As Short
参数
- Value
- Object
必需。Required. 要转换为 Short 值的对象。Object to convert to a Short value.
返回
与 Value 对应的 Short 值。The Short value that corresponds to Value.
注解
此类支持 Visual Basic 编译器,不应在代码中直接使用。This class supports the Visual Basic compiler and is not intended to be used directly from your code.