NumberFormatInfo.DigitSubstitution プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)

Dim instance As NumberFormatInfo Dim value As DigitShapes value = instance.DigitSubstitution instance.DigitSubstitution = value
[ComVisibleAttribute(false)] public: property DigitShapes DigitSubstitution { DigitShapes get (); void set (DigitShapes value); }
/** @property */ public DigitShapes get_DigitSubstitution () /** @property */ public void set_DigitSubstitution (DigitShapes value)
public function get DigitSubstitution () : DigitShapes public function set DigitSubstitution (value : DigitShapes)
DigitShapes 値の 1 つ。


DigitSubstitution プロパティのコード例を次に示します。
' This example demonstrates the System.Global- ' ization.NumberFormatInfo.DigitSubstitution property. Imports System Imports System.Globalization Class Sample Public Shared Sub Main() Dim westernCI As New CultureInfo("en-US") Dim arabicCI As New CultureInfo("ar-SA") Dim thaiCI As New CultureInfo("th-TH") Dim shape As DigitShapes Dim name As String Dim intro As String = "The digit substitution value for the {0} culture is {1}." ' Western culture. name = westernCI.EnglishName shape = westernCI.NumberFormat.DigitSubstitution Console.WriteLine(intro, name, shape) ' Arabic culture. name = arabicCI.EnglishName shape = arabicCI.NumberFormat.DigitSubstitution Console.WriteLine(intro, name, shape) ' Thai culture. name = thaiCI.EnglishName shape = thaiCI.NumberFormat.DigitSubstitution Console.WriteLine(intro, name, shape) End Sub 'Main End Class 'Sample ' 'This code example produces the following results: ' 'The digit substitution value for the English (United States) culture is None. 'The digit substitution value for the Arabic (Saudi Arabia) culture is Context. 'The digit substitution value for the Thai (Thailand) culture is None. '
// This example demonstrates the System.Global- // ization.NumberFormatInfo.DigitSubstitution property. using System; using System.Globalization; class Sample { public static void Main() { CultureInfo westernCI = new CultureInfo("en-US"); CultureInfo arabicCI = new CultureInfo("ar-SA"); CultureInfo thaiCI = new CultureInfo("th-TH"); DigitShapes shape; string name; string intro = "The digit substitution value for the {0} culture is {1}."; // Western culture. name = westernCI.EnglishName; shape = westernCI.NumberFormat.DigitSubstitution; Console.WriteLine(intro, name, shape); // Arabic culture. name = arabicCI.EnglishName; shape = arabicCI.NumberFormat.DigitSubstitution; Console.WriteLine(intro, name, shape); // Thai culture. name = thaiCI.EnglishName; shape = thaiCI.NumberFormat.DigitSubstitution; Console.WriteLine(intro, name, shape); } } /* This code example produces the following results: The digit substitution value for the English (United States) culture is None. The digit substitution value for the Arabic (Saudi Arabia) culture is Context. The digit substitution value for the Thai (Thailand) culture is None. */
// This example demonstrates the // System.Globalization.NumberFormatInfo.DigitSubstitution property. using namespace System; using namespace System::Globalization; int main() { CultureInfo^ westernCI = gcnew CultureInfo("en-US"); CultureInfo^ arabicCI = gcnew CultureInfo("ar-SA"); CultureInfo^ thaiCI = gcnew CultureInfo("th-TH"); DigitShapes shape; String^ name; String^ intro = "The digit substitution value for " + "the {0} culture is {1}."; // Western culture. name = westernCI->EnglishName; shape = westernCI->NumberFormat->DigitSubstitution; Console::WriteLine(intro, name, shape); // Arabic culture. name = arabicCI->EnglishName; shape = arabicCI->NumberFormat->DigitSubstitution; Console::WriteLine(intro, name, shape); // Thai culture. name = thaiCI->EnglishName; shape = thaiCI->NumberFormat->DigitSubstitution; Console::WriteLine(intro, name, shape); } /* This code example produces the following results: The digit substitution value for the English (United States) culture is None. The digit substitution value for the Arabic (Saudi Arabia) culture is Context. The digit substitution value for the Thai (Thailand) culture is None. */

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からNumberFormatInfo.DigitSubstitution プロパティを検索する場合は、下記のリンクをクリックしてください。

- NumberFormatInfo.DigitSubstitution プロパティのページへのリンク