編輯

共用方式為


Convert.ToInt32(Object) Method

Definition

Converts the specified value to an Int32.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static int ToInt32(System::Object ^ value);
public static int ToInt32 (object value);
static member ToInt32 : obj -> int
Public Shared Function ToInt32 (value As Object) As Integer

Parameters

value
Object

The value to convert.

Returns

value converted to an Int32.

Applies to