Header |
public void Replace( HeaderId id, Encoding encoding, string value )
| Exception | Condition |
|---|---|
| ArgumentNullException | encoding is . -or- value is . |
| ArgumentOutOfRangeException | id is not a valid HeaderId. |
Replaces all headers with identical field names with the single specified header.
If no headers with the specified field name exist, it is simply added.