HttpResponseHeadersRemove(String) Method

Removes the element with the specified key from the IDictionaryTKey, TValue.


Namespace: TcHmiSrv.Core.Tools.Net.Http
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public bool Remove(
    string key
)

Parameters

key  String

The key of the element to remove.

Return Value

Boolean
if the element is successfully removed; otherwise, . This method also returns if key was not found in the original IDictionaryTKey, TValue.

Implements

IDictionaryTKey, TValueRemove(TKey)

Exceptions

Exception

Condition

ArgumentNullException

key is .

NotSupportedException

The IDictionaryTKey, TValue is read-only.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

HttpResponseHeaders Class Remove Overload TcHmiSrv.Core.Tools.Net.Http Namespace

Copyright © Beckhoff Automation GmbH & Co. KG