## IFormatterConverter::ToBoolean method


将值转换为布尔值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | System::SharedPtr\<Object\> | 待转换的对象。 |

### ReturnValue

已转换的值。

## 另见

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