Contains

HeaderCollection.Contains method

Gets a value indicating whether the specified header is contained in the collection

public bool Contains(string item)
Parameter Type Description
item String A header to search

Return Value

True if collection contains specified item; otherwise, false

See Also