Method Remove
Remove(KeyValuePair<string, StringValues>)
Removes the given item from the the collection.
public bool Remove(KeyValuePair<string, StringValues> item)
Parameters
item
KeyValuePair<string, StringValues>The item.
Returns
- bool
true if the specified object was removed from the collection; otherwise, false.
Remove(string)
Removes the given header from the collection.
public bool Remove(string key)
Parameters
key
stringThe header name.
Returns
- bool
true if the specified object was removed from the collection; otherwise, false.