Provides array subscript access to the collection.
Part
| Description
| object
|
| Label
| HttpLabelConstants. Specifies the symbolic name for the header label being added. Use httpNull if Value includes the label.
| Index
| Long. Specifies a header field by position in the collection. When using this parameter Label must be set to httpNull.
| Value
| Returned String. Contains the removed header field. An empty string indicates that the label was not found.
|
Remarks
This method removes the first header field matching Label or the header field at Index in the collection.
Error Codes
The Clear method may generate the following error codes (refer to the ErrorConstants topic for a complete list of error codes):
- ptInvalidParam1 (invalid label type)
- ptInvalidParam2 (Index is out of range)
- ptNoBufferSpace
|