Share via


ToSByte 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 an SByte value.

This API is not CLS-compliant. The CLS-compliant alternative is ToByte.

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function ToSByte ( _
    Value As String _
) As SByte
[CLSCompliantAttribute(false)]
public static sbyte ToSByte(
    string Value
)
[CLSCompliantAttribute(false)]
public:
static signed char ToSByte(
    String^ Value
)
[<CLSCompliantAttribute(false)>]
static member ToSByte : 
        Value:string -> sbyte 
public static function ToSByte(
    Value : String
) : sbyte

Parameters

Return Value

Type: System. . :: . .SByte
The SByte value of the string.

.NET Framework Security

See Also

Reference

Conversions Class

ToSByte Overload

Microsoft.VisualBasic.CompilerServices Namespace