Char.IConvertible.ToBoolean(IFormatProvider) Char.IConvertible.ToBoolean(IFormatProvider) Char.IConvertible.ToBoolean(IFormatProvider) Method

定義

注意:不支援這項轉換。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);
Function ToBoolean (provider As IFormatProvider) As Boolean Implements IConvertible.ToBoolean

參數

provider
IFormatProvider IFormatProvider IFormatProvider

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

傳回

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

實作

例外狀況

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

適用於