Click or drag to resize
WebHeaderCollectionAdd Method
Inserts a header with the specified name and value into the collection.

Namespace: Eclo.NETMF.SIM800H
Assembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntax
C#
public void Add(
	string name,
	string value
)

Parameters

name
Type: SystemString
The name of the header that is being added to the collection.
value
Type: SystemString
The content of the header that is being added (its header-value). If a header with the specified name already exists, this value is concatenated onto the existing header.
Remarks
If a header with the specified name already exists, the header that is being added is concatenated onto the existing header.

Throws an exception if the specified header name is the name of a special header.

See Also