Method Contains
Contains(CustomHttpHeader)
Returns a boolean indicating whether or not the specified CustomHttpHeader instance is in the collection.
Declaration
public bool Contains(CustomHttpHeader header)
Parameters
Type | Name | Description |
---|---|---|
CustomHttpHeader | header | An CustomHttpHeader instance to check the collection for. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified instance exists in the collection, otherwise false. |
Contains(String)
Returns a boolean indicating whether or not a CustomHttpHeader instance with the specified full name value exists in the collection.
Declaration
public bool Contains(string headerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | headerName | A string containing the full name of the CustomHttpHeader instance to check for. |
Returns
Type | Description |
---|---|
System.Boolean | True if an item with the specified full name exists in the collection, otherwise false. |