System::Globalization::NumberFormatInfo::get_CurrencyNegativePattern 方法

NumberFormatInfo::get_CurrencyNegativePattern method

获取货币负数模式。

int System::Globalization::NumberFormatInfo::get_CurrencyNegativePattern() const

ReturnValue

数组中模式的索引 {"($n)", “-$n”, “$-n”, “$n-”, “(n$)”, “-n$”, “n-$”, “n$-”, “-n $”, “-$ n”, “n $-”, “$ n-”, “$ -n”, “n- $”, “($ n)”, “(n $)"},其中 “n” 代表数字,”-" 代表负号,"$" 代表货币符号。

另见