DecimalType.Parse(String, NumberFormatInfo) 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与指定的字符串和数字格式信息相对应的 Decimal 值。
此 API 支持产品基础结构,不能在代码中直接使用。
public:
 static System::Decimal Parse(System::String ^ Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
	public static decimal Parse(string Value, System.Globalization.NumberFormatInfo? NumberFormat);
	public static decimal Parse(string Value, System.Globalization.NumberFormatInfo NumberFormat);
	static member Parse : string * System.Globalization.NumberFormatInfo -> decimal
	Public Shared Function Parse (Value As String, NumberFormat As NumberFormatInfo) As Decimal
	Public Function Parse (Value As String, NumberFormat As NumberFormatInfo) As Decimal
	参数
- Value
 - String
 
必需。 要转换为 Decimal 值的字符串。
- NumberFormat
 - NumberFormatInfo
 
根据区域性定义如何设置数值格式以及如何显示数值的 NumberFormatInfo 对象。
返回
与 Value 对应的 Decimal 值。
注解
此类支持 Visual Basic 编译器,不应直接从代码中使用。