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
var
Type: System.ObjectThe original value to unbox.
Return Value
Type: System.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.