HeaderDictionary.Remove Method

Definition

Overloads

Remove(KeyValuePair<String,StringValues>)

Removes the given item from the the collection.

Remove(String)

Removes the given header from the collection.

Remove(KeyValuePair<String,StringValues>)

Source:
HeaderDictionary.cs
Source:
HeaderDictionary.cs

Removes the given item from the the collection.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> bool
Public Function Remove (item As KeyValuePair(Of String, StringValues)) As Boolean

Parameters

item
KeyValuePair<String,StringValues>

The item.

Returns

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

Implements

Applies to

Remove(String)

Source:
HeaderDictionary.cs
Source:
HeaderDictionary.cs

Removes the given header from the collection.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parameters

key
String

The header name.

Returns

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

Implements

Applies to