System::Net::WebHeaderCollection::idx_set method

WebHeaderCollection::idx_set(HttpRequestHeader, String) method

Imposta il valore dell’intestazione specificata.

void System::Net::WebHeaderCollection::idx_set(HttpRequestHeader header, String value)
ParametroTipoDescrizione
intestazioneHttpRequestHeaderL’intestazione.
valueStringIl valore dell’intestazione da impostare.

Vedi anche

WebHeaderCollection::idx_set(HttpResponseHeader, String) method

Imposta il valore dell’intestazione utilizzando l’intestazione della risposta specificata.

void System::Net::WebHeaderCollection::idx_set(HttpResponseHeader header, String value)
ParametroTipoDescrizione
intestazioneHttpResponseHeaderL’intestazione.
valueStringIl valore dell’intestazione da impostare.

Vedi anche

WebHeaderCollection::idx_set(String, String) method

Imposta il valore dell’intestazione utilizzando il nome dell’intestazione specificato.

void System::Net::WebHeaderCollection::idx_set(String name, String value)
ParametroTipoDescrizione
nameStringIl nome dell’intestazione.
valueStringIl valore dell’intestazione da impostare.

Vedi anche