HeaderDictionary.Remove Method
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
Remove(KeyValuePair<String, String[]>) | Removes the given item from the the collection. |
|
Remove(String) | Removes the given header from the collection. |
See Also
HeaderDictionary Class
Microsoft.Owin Namespace
Return to top
HeaderDictionary.Remove Method (KeyValuePair<String, String[]>)
Removes the given item from the the collection.
Syntax
public bool Remove(
KeyValuePair<string, string[]> item
)
public:
virtual bool Remove(
KeyValuePair<String^, array<String^>^> item
) sealed
abstract Remove :
item:KeyValuePair<string, string[]> -> bool
override Remove :
item:KeyValuePair<string, string[]> -> bool
Public Function Remove (
item As KeyValuePair(Of String, String())
) As Boolean
Parameters
item
Type: System.Collections.Generic.KeyValuePair<String, String[]>The item.
Return Value
Type: System.Boolean
true if the specified object was removed from the collection; otherwise, false.
Implements
Return to top
HeaderDictionary.Remove Method (String)
Removes the given header from the collection.
Syntax
public bool Remove(
string key
)
public:
virtual bool Remove(
String^ key
) sealed
abstract Remove :
key:string -> bool
override Remove :
key:string -> bool
Public Function Remove (
key As String
) As Boolean
Parameters
key
Type: System.StringThe header name.
Return Value
Type: System.Boolean
true if the specified object was removed from the collection; otherwise, false.
Implements
IDictionary<TKey, TValue>.Remove(TKey)
Return to top