指定したカルチャ固有の書式情報を使用して、指定したインスタンスの値を等価の 32 ビット符号付き整数に変換します。
IConvertible 型は CLS との互換性がありません。CLS との互換性に関する詳細については 「共通言語仕様の概要」 を参照してください。
Function ToInt32( _
ByVal provider As IFormatProvider _) As Integer
[C#]
int ToInt32(
IFormatProviderprovider);
[C++]
int ToInt32(
IFormatProvider* provider);
[JScript]
function ToInt32(
provider : IFormatProvider) : int;
パラメータ
- provider
カルチャに固有の書式情報を提供する IFormatProvider インターフェイス実装。
戻り値
対象のインスタンスの値と等価な 32 ビット符号付き整数。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET