SqlDecimal.Parse(String) SqlDecimal.Parse(String) SqlDecimal.Parse(String) SqlDecimal.Parse(String) Method

定义

将数字的 String 表示形式转换为其等效的 SqlDecimal 形式。Converts the String representation of a number to its SqlDecimal equivalent.

public:
 static System::Data::SqlTypes::SqlDecimal Parse(System::String ^ s);
public static System.Data.SqlTypes.SqlDecimal Parse (string s);
static member Parse : string -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Parse (s As String) As SqlDecimal

参数

s
String String String String

要分析的 StringThe String to be parsed.

返回

一个 SqlDecimal,它与指定的 String 中包含的值等效。A SqlDecimal equivalent to the value that is contained in the specified String.

适用于

另请参阅