|
この記事は機械翻訳されたものです。 記事の文章にポインターを重ねると、原文のテキストが表示されます。 詳細情報
|
訳文
原文
|
Convert.ToString メソッド (Int64)
.NET Framework 4.5
名前空間: System
アセンブリ: mscorlib (mscorlib.dll 内)
パラメーター
- value
- 型 : System.Int64
変換する 64 ビット符号付き整数。
// Create a NumberFormatInfo object and set several of its // properties that control default integer formatting. System.Globalization.NumberFormatInfo provider = new System.Globalization.NumberFormatInfo(); provider.NegativeSign = "minus "; long[] values = { -200, 0, 1000 }; foreach (long value in values) Console.WriteLine("{0,-6} --> {1,10}", value, Convert.ToString(value, provider)); // The example displays the following output: // -200 --> minus 200 // 0 --> 0 // 1000 --> 1000
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (サーバー コア ロールはサポート対象外), Windows Server 2008 R2 (SP1 以降でサーバー コア ロールをサポート。Itanium はサポート対象外)
.NET Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。