Unbox.AsUInt16 Method
Unboxes the specified object into a UInt16 object.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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
var
Type: ObjectThe original value to unbox.
Return Value
Type: UInt16
Returns a UInt16 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.