Unbox.AsUInt8(Object) Method

Definition

Unboxes the specified object into a UInt8 object.

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

Parameters

var
Object

The original value to unbox.

Returns

Returns the UInt8 object.

Applies to