Char.IConvertible.ToBoolean(IFormatProvider) 方法

定義

注意:不支援這項轉換。Note This conversion is not supported. 嘗試這麼做會擲回 InvalidCastExceptionAttempting to do so throws an InvalidCastException.

 virtual bool System.IConvertible.ToBoolean(IFormatProvider ^ provider) = IConvertible::ToBoolean;
bool IConvertible.ToBoolean (IFormatProvider provider);
abstract member System.IConvertible.ToBoolean : IFormatProvider -> bool
override this.System.IConvertible.ToBoolean : IFormatProvider -> bool
Function ToBoolean (provider As IFormatProvider) As Boolean Implements IConvertible.ToBoolean

參數

provider
IFormatProvider

這個參數已忽略。This parameter is ignored.

傳回

Boolean

不支援此轉換。This conversion is not supported. 沒有傳回值。No value is returned.

實作

例外狀況

不支援此轉換。This conversion is not supported.

適用於