## String::IsNullOrEmpty() const method


检查字符串是否为空或被视为 null。

```cpp
bool System::String::IsNullOrEmpty() const
```


### ReturnValue

如果字符串为空或 null，则为 true；否则为 false。

## 另见

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## String::IsNullOrEmpty(const String\&) method


检查传入的字符串是否为 null 或为空。

```cpp
static bool System::String::IsNullOrEmpty(const String &str)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const String\& | [String](../) 用于检查。 |

### ReturnValue

如果字符串为 null 或为空，则为 true；否则为 false。

## 另见

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