Unbox.AsInt16(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unboxes the specified object into an Int16 object.
public:
static short AsInt16(System::Object ^ var);
public:
static short AsInt16(Platform::Object ^ var);
static short AsInt16(winrt::Windows::Foundation::IInspectable const & var);
public static short AsInt16 (object var);
static member AsInt16 : obj -> int16
Public Shared Function AsInt16 (var As Object) As Short
Parameters
- var
- Object
The original value to unbox.
Returns
Returns an Int16 object.