Export (0) Print
Expand All

Int16.Parse Method

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

Overload List

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

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function Parse(String) As Short
[C#] public static short Parse(string);
[C++] public: static short Parse(String*);
[JScript] public static function Parse(String) : Int16;

Converts the string representation of a number in a specified culture-specific format to its 16-bit signed integer equivalent.

[Visual Basic] Overloads Public Shared Function Parse(String, IFormatProvider) As Short
[C#] public static short Parse(string, IFormatProvider);
[C++] public: static short Parse(String*, IFormatProvider*);
[JScript] public static function Parse(String, IFormatProvider) : Int16;

Converts the string representation of a number in a specified style to its 16-bit signed integer equivalent.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function Parse(String, NumberStyles) As Short
[C#] public static short Parse(string, NumberStyles);
[C++] public: static short Parse(String*, NumberStyles);
[JScript] public static function Parse(String, NumberStyles) : Int16;

Converts the string representation of a number in a specified style and culture-specific format to its 16-bit signed integer equivalent.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function Parse(String, NumberStyles, IFormatProvider) As Short
[C#] public static short Parse(string, NumberStyles, IFormatProvider);
[C++] public: static short Parse(String*, NumberStyles, IFormatProvider*);
[JScript] public static function Parse(String, NumberStyles, IFormatProvider) : Int16;

See Also

Int16 Structure | Int16 Members | System Namespace

Show:
© 2015 Microsoft