## String::IsNullOrWhiteSpace method


指示指定的字符串是 null、为空，还是仅由空白字符组成。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| str | const String\& | [String](../) 用于检查。 |

### ReturnValue

如果字符串为 null、为空或仅包含空白字符则返回 true，否则返回 false。

## 另见

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