System::Net::WebHeaderCollection::IsRestricted method

WebHeaderCollection::IsRestricted method

Tests whether the specified HTTP header can be set for the request.

static bool System::Net::WebHeaderCollection::IsRestricted(const String &headerName)
ParameterTypeDescription
headerNameconst String&The header name to test.

ReturnValue

true if the header is restricted; otherwise false.

See Also