## String::FromWCS method


从宽字符串创建 [String](../)。

```cpp
static String System::String::FromWCS(const std::wstring &wcs)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| wcs | const std::wstring\& | 要转换为 [String](../) 的宽字符串。 |

### ReturnValue

[String](../) object representing passed string.

## 另见

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