System::Guid::TryParse 方法
Guid::TryParse method
尝试将指定的字符串转换为 Guid 对象。
static bool System::Guid::TryParse(const String &input, Guid &g)
| 参数 | 类型 | 描述 |
|---|---|---|
| 输入 | const String& | 要转换的字符串 |
| g | Guid& | 如果成功,则输出 Guid 对象。 |
ReturnValue
如果输入字符串表示有效的 Guid,则为 true,否则为 false。
另见
- Class String
- Class Guid
- Class Guid
- Namespace System
- Library Aspose.Font for C++