Share via


Unbox.AsUInt16 Method

Unboxes the specified object into a UInt16 object.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function AsUInt16 ( _
    var As Object _
) As UShort
public static ushort AsUInt16(
    Object var
)
public:
static unsigned short AsUInt16(
    Object^ var
)
static member AsUInt16 : 
        var:Object -> uint16
public static function AsUInt16(
    var : Object
) : ushort

Parameters

Return Value

Type: System.UInt16
Returns a UInt16 object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace