Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts an object to a Short value.
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public Shared Function ToShort ( _
Value As Object _
) As Short
public static short ToShort(
Object Value
)
public:
static short ToShort(
Object^ Value
)
static member ToShort :
Value:Object -> int16
public static function ToShort(
Value : Object
) : short
Parameters
- Value
Type: System. . :: . .Object
The object to convert.
Return Value
Type: System. . :: . .Int16
The Short value of the object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.