Set()

WebHeaderCollection::Set(String, String) method

Sets the value of the specified header.

void System::Net::WebHeaderCollection::Set(String name, String value)

Arguments

ParameterTypeDescription
nameStringThe header name.
valueStringThe value to set.

See Also