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.
Unboxes the specified object into an Int16 object.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function AsInt16 ( _
var As Object _
) As Short
public static short AsInt16(
Object var
)
public:
static short AsInt16(
Object^ var
)
static member AsInt16 :
var:Object -> int16
public static function AsInt16(
var : Object
) : short
Parameters
var
Type: ObjectThe original value to unbox.
Return Value
Type: Int16
Returns an Int16 object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.