Unbox.AsInt32(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 Int32 object.
public:
static int AsInt32(System::Object ^ var);
public:
static int AsInt32(Platform::Object ^ var);
static int AsInt32(winrt::Windows::Foundation::IInspectable const & var);
public static int AsInt32 (object var);
static member AsInt32 : obj -> int
Public Shared Function AsInt32 (var As Object) As Integer
Parameters
- var
- Object
The original value to unbox.
Returns
Returns an Int32 object.