HttpHeaders::TryAddWithoutValidation Method (String^, IEnumerable<String^>^)
.NET Framework (current version)
Returns a value that indicates whether the specified header and its values were added to the HttpHeaders collection without validating the provided information.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- name
-
Type:
System::String^
The header to add to the collection.
- values
-
Type:
System.Collections.Generic::IEnumerable<String^>^
The values of the header.
Return Value
Type: System::Booleantrue if the specified header name and values could be added to 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: