HeaderDictionaryExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains extension methods for modifying an IHeaderDictionary instance.
public ref class HeaderDictionaryExtensions abstract sealed
public static class HeaderDictionaryExtensions
type HeaderDictionaryExtensions = class
Public Module HeaderDictionaryExtensions
- Inheritance
-
HeaderDictionaryExtensions
Methods
Append(IHeaderDictionary, String, StringValues) |
Add new values. Each item remains a separate array entry. |
AppendCommaSeparatedValues(IHeaderDictionary, String, String[]) |
Quotes any values containing commas, and then comma joins all of the values with any existing values. |
GetCommaSeparatedValues(IHeaderDictionary, String) |
Get the associated values from the collection separated into individual values. Quoted values will not be split, and the quotes will be removed. |
SetCommaSeparatedValues(IHeaderDictionary, String, String[]) |
Quotes any values containing commas, and then comma joins all of the values. |