Upravit

Sdílet prostřednictvím


Enum.IConvertible.ToSByte(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

Converts the current value to an 8-bit signed integer based on the underlying type.

 virtual System::SByte System.IConvertible.ToSByte(IFormatProvider ^ provider) = IConvertible::ToSByte;
sbyte IConvertible.ToSByte (IFormatProvider provider);
[System.CLSCompliant(false)]
sbyte IConvertible.ToSByte (IFormatProvider provider);
abstract member System.IConvertible.ToSByte : IFormatProvider -> sbyte
override this.System.IConvertible.ToSByte : IFormatProvider -> sbyte
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToSByte : IFormatProvider -> sbyte
override this.System.IConvertible.ToSByte : IFormatProvider -> sbyte
Function ToSByte (provider As IFormatProvider) As SByte Implements IConvertible.ToSByte

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

The converted value.

Implements

Attributes

Remarks

Uses Convert to perform the conversion.

Applies to