Partager via


Conversions.ToSByte Method (String)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts a string to an SByte value.

This API is not CLS-compliant. The CLS-compliant alternative is ToByte(String).

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
)

Parameters

Return Value

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.