Επεξεργασία

Κοινή χρήση μέσω


Enum.IConvertible.ToByte(IFormatProvider) Method

Definition

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

 virtual System::Byte System.IConvertible.ToByte(IFormatProvider ^ provider) = IConvertible::ToByte;
byte IConvertible.ToByte (IFormatProvider provider);
abstract member System.IConvertible.ToByte : IFormatProvider -> byte
override this.System.IConvertible.ToByte : IFormatProvider -> byte
Function ToByte (provider As IFormatProvider) As Byte Implements IConvertible.ToByte

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

The converted value.

Implements

Remarks

Uses Convert to perform the conversion.

Applies to