HttpHeaders::Contains Method (String^)
.NET Framework (current version)
Returns if a specific header exists in the HttpHeaders collection.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- name
-
Type:
System::String^
The specific header.
Return Value
Type: System::Booleantrue is the specified header exists in the collection; otherwise false.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: