Boolean.IConvertible.ToBoolean(IFormatProvider) 方法

定义

有关此成员的说明,请参阅 ToBoolean(IFormatProvider)For a description of this member, see ToBoolean(IFormatProvider).

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

参数

provider
IFormatProvider

忽略此参数。This parameter is ignored.

返回

truefalsetrue or false.

实现

注解

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 Boolean 实例被强制转换为 IConvertible 接口时使用。It can be used only when the Boolean instance is cast to an IConvertible interface.

适用于