Share via


Unbox.AsInt16 Method

Unboxes the specified object into an Int16 object.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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

Return Value

Type: System.Int16
Returns an Int16 object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace