Editar

Partilhar via


Enum.IConvertible.ToInt32(IFormatProvider) Method

Definition

Converts the current value to a 32-bit signed integer based on the underlying type.

 virtual int System.IConvertible.ToInt32(IFormatProvider ^ provider) = IConvertible::ToInt32;
int IConvertible.ToInt32 (IFormatProvider provider);
abstract member System.IConvertible.ToInt32 : IFormatProvider -> int
override this.System.IConvertible.ToInt32 : IFormatProvider -> int
Function ToInt32 (provider As IFormatProvider) As Integer Implements IConvertible.ToInt32

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

The converted value.

Implements

Remarks

Uses Convert to perform the conversion.

Applies to