Share via


Unbox.AsInt64(Object) Method

Definition

Unboxes the specified object into an Int64 object.

public:
 static long AsInt64(System::Object ^ var);
public:
 static long long AsInt64(Platform::Object ^ var);
 static long AsInt64(winrt::Windows::Foundation::IInspectable const & var);
public static long AsInt64 (object var);
static member AsInt64 : obj -> int64
Public Shared Function AsInt64 (var As Object) As Long

Parameters

var
Object

The original value to unbox.

Returns

Returns an Int64 object.

Applies to