## IFormattable class


定义使用指定的格式字符串和格式提供程序来格式化当前对象值的方法。

```cpp
class IFormattable : public virtual System::Object
```

## 方法

| 方法 | 描述 |
| --- | --- |
| virtual [ToString](./tostring/)(String, SharedPtr\<IFormatProvider\>) |  |
## 另见

* Class [Object](../object/)
* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
