Table of Contents

Method Remove

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Remove(KeyValuePair<string, StringValues>)

Removes the given item from the the collection.

public bool Remove(KeyValuePair<string, StringValues> item)

Parameters

item KeyValuePair<string, StringValues>

The item.

Returns

bool

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

Remove(string)

Removes the given header from the collection.

public bool Remove(string key)

Parameters

key string

The header name.

Returns

bool

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