SqlMoney.Parse(String) SqlMoney.Parse(String) SqlMoney.Parse(String) SqlMoney.Parse(String) Method

定义

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

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

参数

s
String String String String

要分析的 StringThe String to be parsed.

返回

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

适用于

另请参阅