Enum.IConvertible.ToInt32(IFormatProvider) 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.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.