Bewerken

Delen via


HttpHeadersNonValidated.Contains(String) Method

Definition

Gets whether the collection contains the specified header.

public:
 bool Contains(System::String ^ headerName);
public bool Contains (string headerName);
member this.Contains : string -> bool
Public Function Contains (headerName As String) As Boolean

Parameters

headerName
String

The name of the header.

Returns

true if the collection contains the header; otherwise, false.

Applies to