## Version::ToString() const method


返回当前对象所表示的版本号的字符串表示。

```cpp
String System::Version::ToString() const
```

## 另见

* Class [String](../../string/)
* Class [Version](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Version::ToString(int) const method


返回当前对象所表示的版本号中指定段数的字符串表示。

```cpp
String System::Version::ToString(int fieldCount) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| fieldCount | int | 在返回的字符串表示中要包含的版本号段的数量 |

### ReturnValue

当前对象表示的版本号的字符串表示形式

## 另见

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