Int64::IConvertible::ToBoolean Method (IFormatProvider^)
This API supports the product infrastructure and is not intended to be used directly from your code.
For a description of this member, see IConvertible::ToBoolean.
Assembly: mscorlib (in mscorlib.dll)
private: virtual bool ToBoolean( IFormatProvider^ provider ) sealed = IConvertible::ToBoolean
Parameters
- provider
-
Type:
System::IFormatProvider^
This parameter is ignored.
Return Value
Type: System::Booleantrue if the value of the current instance is not zero; otherwise, false.
This member is an explicit interface member implementation. It can be used only when the Int64 instance is cast to an IConvertible interface. The recommended alternative is to call the Convert::ToBoolean(Int64) method.
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0