HeaderDictionary Class

 

Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

System::Object
  Microsoft.Owin::HeaderDictionary

public ref class HeaderDictionary : IHeaderDictionary, IReadableStringCollection, 
	IDictionary<String^, array<String^>^>, ICollection<KeyValuePair<String^, array<String^>^>>, 
	IEnumerable<KeyValuePair<String^, array<String^>^>>, IEnumerable

NameDescription
System_CAPS_pubmethodHeaderDictionary(IDictionary<String^, array<String^>^>^)

Initializes a new instance of the HeaderDictionary class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements contained in the HeaderDictionary ;.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the HeaderDictionary is in read-only mode.

System_CAPS_pubpropertyItem[String^]

Get or sets the associated value from the collection as a single string.

System_CAPS_pubpropertyKeys

Gets an ICollection that contains the keys in the HeaderDictionary ;.

System_CAPS_pubpropertyValues

Gets the attribute value.

NameDescription
System_CAPS_pubmethodAdd(KeyValuePair<String^, array<String^>^>)

Adds a new list of items to the collection.

System_CAPS_pubmethodAdd(String^, array<String^>^)

Adds the given header and values to the collection.

System_CAPS_pubmethodAppend(String^, String^)

Add a new value. Appends to the header if already present

System_CAPS_pubmethodAppendCommaSeparatedValues(String^, array<String^>^)

Quotes any values containing comas, and then coma joins all of the values with any existing values.

System_CAPS_pubmethodAppendValues(String^, array<String^>^)

Add new values. Each item remains a separate array entry.

System_CAPS_pubmethodClear()

Clears the entire list of objects.

System_CAPS_pubmethodContains(KeyValuePair<String^, array<String^>^>)

Returns a value indicating whether the specified object occurs within this collection.

System_CAPS_pubmethodContainsKey(String^)

Determines whether the HeaderDictionary contains a specific key.

System_CAPS_pubmethodCopyTo(array<KeyValuePair<String^, array<String^>^>>^, Int32)

Copies the HeaderDictionary elements to a one-dimensional Array instance at the specified index.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGet(String^)

Get the associated value from the collection as a single string.

System_CAPS_pubmethodGetCommaSeparatedValues(String^)

Get the associated values from the collection separated into individual values. Quoted values will not be split, and the quotes will be removed.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValues(String^)

Get the associated values from the collection without modification.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(KeyValuePair<String^, array<String^>^>)

Removes the given item from the the collection.

System_CAPS_pubmethodRemove(String^)

Removes the given header from the collection.

System_CAPS_pubmethodSet(String^, String^)

Sets a specific header value.

System_CAPS_pubmethodSetCommaSeparatedValues(String^, array<String^>^)

Quotes any values containing comas, and then coma joins all of the values.

System_CAPS_pubmethodSetValues(String^, array<String^>^)

Sets the specified header values without modification.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(String^, array<String^>^)

Retrieves a value from the dictionary.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable::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.

Return to top
Show: