System::String::operator== method
String::operator==(const String&) const method
相等比较运算符。
bool System::String::operator==(const String &str) const
| 参数 | 类型 | 描述 |
|---|---|---|
| str | const String& | String 用于与当前字符串比较。 |
ReturnValue
如果两个字符串都为 null,或两个都非 null 且匹配,则为 true;否则为 false。
另见
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::operator==(std::nullptr_t) const method
检查字符串是否为 null。使用与 IsNull() 调用相同的逻辑。
bool System::String::operator==(std::nullptr_t) const
ReturnValue
如果字符串为 null,则为 true;否则为 false。
另见
- Class String
- Namespace System
- Library Aspose.Font for C++