## WebHeaderCollection::IsRestricted method


测试是否可以为请求设置指定的 HTTP 头。

```cpp
static bool System::Net::WebHeaderCollection::IsRestricted(const String &headerName)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| headerName | const String\& | 要测试的标头名称。 |

### ReturnValue

如果标头受限则为 true；否则为 false。

## 另见

* Class [String](../../../system/string/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
