Edit

Share via


DateTime.IConvertible.ToByte(IFormatProvider) Method

Definition

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

byte IConvertible.ToByte(IFormatProvider provider);

Parameters

provider
IFormatProvider

An object that implements the IFormatProvider interface. (This parameter is not used; specify null.)

Returns

The return value for this member is not used.

Implements

Exceptions

In all cases.

Applies to