asp.net.ph

IConvertible.ToBoolean Method

System Namespace   IConvertible Class


Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.

The IConvertible type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[ VB ]
<CLSCompliant ( False ) >
Function ToBoolean ( _
   ByVal provider As IFormatProvider _
) As Boolean

[ C# ]
[CLSCompliant ( false ) ]

bool ToBoolean (
   IFormatProvider provider
);

[ C++ ]
[CLSCompliant ( false ) ]

bool ToBoolean (
   IFormatProvider* provider
);

[JScript ]
function CLSCompliant ( false )
ToBoolean (
   provider : IFormatProvider
) : Boolean;

Parameters

provider
An IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

A Boolean value equivalent to the value of this instance.

See Also

IConvertible Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph