Enum.IConvertible.ToBoolean(IFormatProvider) Method

Definition

Converts the current value to a Boolean value based on the underlying type.

 virtual bool System.IConvertible.ToBoolean(IFormatProvider ^ provider) = IConvertible::ToBoolean;
bool IConvertible.ToBoolean (IFormatProvider provider);
Function ToBoolean (provider As IFormatProvider) As Boolean Implements IConvertible.ToBoolean

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

This member always throws an exception.

Implements

Exceptions

In all cases.

Remarks

Currently not implemented. Always throws an exception.

Applies to