System.Single.System.IConvertible.ToSByte Method

For a description of this member, see IConvertible.ToSByte(IFormatProvider).

Syntax

sbyte System.IConvertible.ToSByte (IFormatProvider provider)

Parameters

provider
This parameter is ignored.

Returns

The value of the current instance, converted to an sbyte.

Remarks

This member is an explicit interface member implementation. It can be used only when the float instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToSByte(float) method.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0