## BoxedValueBase::ToString() const method


相当于 C# [Object.ToString()](../../object/tostring/) 方法。支持将自定义对象转换为字符串。

```cpp
virtual String System::Object::ToString() const
```


### ReturnValue

[String](../../string/) representation as provided by final class.

## 另见

* Class [String](../../string/)
* Class [BoxedValueBase](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## BoxedValueBase::ToString(const System::String\&) const method


使用指定的格式字符串将装箱对象转换为字符串。

```cpp
System::String System::BoxedValueBase::ToString(const System::String &format) const
```

## 另见

* Class [String](../../string/)
* Class [BoxedValueBase](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
