HeaderDictionary.Remove Method

 

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

Overload List

Name Description
System_CAPS_pubmethod Remove(KeyValuePair<String, String[]>)

Removes the given item from the the collection.

System_CAPS_pubmethod 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

Return Value

Type: System.Boolean

true if the specified object was removed from the collection; otherwise, false.

Implements

ICollection<T>.Remove(T)

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

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