## String::FromUtf16 method


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

```cpp
static String System::String::FromUtf16(const std::u16string &u16str)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| u16str | const std::u16string\& | Utf16 字符串。 |

### ReturnValue

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

## 另见

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