## IFormatterConverter::ToBoolean method


Converts a value to a bool.

```cpp
virtual bool System::Runtime::Serialization::IFormatterConverter::ToBoolean(System::SharedPtr<Object> value)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<Object\> | The object to be converted. |

### ReturnValue

The converted value.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IFormatterConverter](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.PUB for C++](../../../)
