System::Globalization::NumberFormatInfo::set_NumberNegativePattern 方法

NumberFormatInfo::set_NumberNegativePattern method

设置数字负数模式。

void System::Globalization::NumberFormatInfo::set_NumberNegativePattern(int value)
参数类型描述
int数组中模式的索引 {"(n)", “-n”, “- n”, “n-”, “n -"},其中 “n” 表示数字,”-" 表示负号。

另见