ToBoolean()

IConvertible::ToBoolean(System::SharedPtr<System::IFormatProvider>) method

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

virtual bool System::IConvertible::ToBoolean(System::SharedPtr<System::IFormatProvider> provider)=0

Arguments

ParameterTypeDescription
providerSystem::SharedPtr<System::IFormatProvider>A System::IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

A Boolean value equivalent to the value of this instance.

See Also