Unbox.AsInt8(Object) Method

Definition

Unboxes the specified object into an Int8 object.

public:
 static System::SByte AsInt8(System::Object ^ var);
public:
 static SByte AsInt8(Platform::Object ^ var);
 static SByte AsInt8(winrt::Windows::Foundation::IInspectable const & var);
public static sbyte AsInt8 (object var);
static member AsInt8 : obj -> sbyte
Public Shared Function AsInt8 (var As Object) As SByte

Parameters

var
Object

The original value to unbox.

Returns

Returns an Int8 object.

Applies to