Method ToInt32
ToInt32()
Converts the value represented by this instance to a 32-bit signed
integer.
Declaration
public override int ToInt32()
Returns
| Type | Description |
|---|---|
| Int32 | A 32-bit signed integer that is equivalent to the value represented by this instance. |
Overrides
Remarks
This method performs the same conversion as
ToInt32(Int64).
Exceptions
| Type | Condition |
|---|---|
| OverflowException | If this instance represents value less than MinValue or greater than MaxValue |