[]
Converts the specified value to a 32-bit signed integer.
public static int ToInt(object value)
Public Shared Function ToInt(value As Object) As Integer
| Type | Name | Description |
|---|---|---|
| object | value | Value to convert |
| Type | Description |
|---|---|
| int | 32-bit signed integer equivalent to the specified value |
| Type | Condition |
|---|---|
| InvalidCastException | Value cannot be converted. |