Share via


ToShort Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts a string to a Short value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function ToShort ( _
    Value As String _
) As Short
public static short ToShort(
    string Value
)
public:
static short ToShort(
    String^ Value
)
static member ToShort : 
        Value:string -> int16 
public static function ToShort(
    Value : String
) : short

Parameters

Return Value

Type: System. . :: . .Int16
The Short value of the string.

.NET Framework Security

See Also

Reference

Conversions Class

ToShort Overload

Microsoft.VisualBasic.CompilerServices Namespace