SqlInt16.Parse(String) 方法

定义

将数字的 String 表示形式转换为它的等效 16 位有符号整数。

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

参数

s
String

要分析的 String

返回

一个 16 位有符号整数,它等效于指定的 String 中包含的值。

适用于

另请参阅