System::Net::WebHeaderCollection::IsRestricted 方法

WebHeaderCollection::IsRestricted method

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

static bool System::Net::WebHeaderCollection::IsRestricted(const String &headerName)
参数类型描述
headerNameconst String&要测试的标头名称。

ReturnValue

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

另见