ToBoolean()

FormatterConverter::ToBoolean(System::SharedPtr<Object>) method

Converts a value to a bool.

bool System::Runtime::Serialization::FormatterConverter::ToBoolean(System::SharedPtr<Object> value) override

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<Object>The object to be converted.

Return Value

The converted value.

See Also