Bewerken

Share via


SqlInt16.Parse(String) Method

Definition

Converts the String representation of a number to its 16-bit signed integer equivalent.

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

Parameters

s
String

The String to be parsed.

Returns

A 16-bit signed integer equivalent to the value that is contained in the specified String.

Applies to

See also