Export (0) Print
Expand All

IConvertible.ToSByte Method

Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.

The IConvertible type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
Function ToSByte( _
   ByVal provider As IFormatProvider _
) As SByte
[C#]
sbyte ToSByte(
   IFormatProvider provider
);
[C++]
char ToSByte(
   IFormatProvider* provider
);
[JScript]
function ToSByte(
   provider : IFormatProvider
) : SByte;

Parameters

provider
An IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

An 8-bit signed integer equivalent to the value of this instance.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IConvertible Interface | IConvertible Members | System Namespace

Show:
© 2015 Microsoft