Convert.ToInt32 Method (SByte)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the value of the specified 8-bit signed integer to the equivalent 32-bit signed integer.

This API is not CLS-compliant.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

<CLSCompliantAttribute(False)> _
Public Shared Function ToInt32 ( _
    value As SByte _
) As Integer
[CLSCompliantAttribute(false)]
public static int ToInt32(
    sbyte value
)

Parameters

Return Value

Type: System..::.Int32
The 8-bit signed integer equivalent to the value of value.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Convert Class

ToInt32 Overload

System Namespace