IsRestricted()

WebHeaderCollection::IsRestricted(const String&) method

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

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

Arguments

ParameterTypeDescription
headerNameconst String&The header name to test.

Return Value

true if the header is restricted; otherwise false.

See Also