HeaderCollection.Contains

HeaderCollection.Contains method

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

public bool Contains(string item)
ParameterTypeDescription
itemStringA header to search

Return Value

True if collection contains specified item; otherwise, false

See Also