HeaderDictionary Class
Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders.
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
| Name | Description | |
|---|---|---|
![]() | HeaderDictionary(IDictionary<String^, array<String^>^>^) | Initializes a new instance of the HeaderDictionary class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements contained in the HeaderDictionary ;. |
![]() | IsReadOnly | Gets a value that indicates whether the HeaderDictionary is in read-only mode. |
![]() | Item[String^] | Get or sets the associated value from the collection as a single string. |
![]() | Keys | Gets an ICollection that contains the keys in the HeaderDictionary ;. |
![]() | Values | Gets the attribute value. |
| Name | Description | |
|---|---|---|
![]() | Add(KeyValuePair<String^, array<String^>^>) | Adds a new list of items to the collection. |
![]() | Add(String^, array<String^>^) | Adds the given header and values to the collection. |
![]() | Append(String^, String^) | Add a new value. Appends to the header if already present |
![]() | AppendCommaSeparatedValues(String^, array<String^>^) | Quotes any values containing comas, and then coma joins all of the values with any existing values. |
![]() | AppendValues(String^, array<String^>^) | Add new values. Each item remains a separate array entry. |
![]() | Clear() | Clears the entire list of objects. |
![]() | Contains(KeyValuePair<String^, array<String^>^>) | Returns a value indicating whether the specified object occurs within this collection. |
![]() | ContainsKey(String^) | Determines whether the HeaderDictionary contains a specific key. |
![]() | CopyTo(array<KeyValuePair<String^, array<String^>^>>^, Int32) | Copies the HeaderDictionary elements to a one-dimensional Array instance at the specified index. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | Get(String^) | Get the associated value from the collection as a single string. |
![]() | GetCommaSeparatedValues(String^) | Get the associated values from the collection separated into individual values. Quoted values will not be split, and the quotes will be removed. |
![]() | GetEnumerator() | Returns an enumerator that iterates through a collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetValues(String^) | Get the associated values from the collection without modification. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(KeyValuePair<String^, array<String^>^>) | Removes the given item from the the collection. |
![]() | Remove(String^) | Removes the given header from the collection. |
![]() | Set(String^, String^) | Sets a specific header value. |
![]() | SetCommaSeparatedValues(String^, array<String^>^) | Quotes any values containing comas, and then coma joins all of the values. |
![]() | SetValues(String^, array<String^>^) | Sets the specified header values without modification. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryGetValue(String^, array<String^>^) | Retrieves a value from the dictionary. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that iterates through a collection. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




