System::Net::Http::Headers::HttpHeaders::SetOrRemoveParsedValue method

HttpHeaders::SetOrRemoveParsedValue method

Ottiene un’intestazione con il nome specificato e imposta o rimuove il suo valore. Il valore dell’intestazione verrà rimosso quando il parametro ‘value’ è nullptr, altrimenti verrà impostato un valore analizzato.

void System::Net::Http::Headers::HttpHeaders::SetOrRemoveParsedValue(String name, System::SharedPtr<Object> value)
ParametroTipoDescrizione
nomeStringaIl nome dell’intestazione.
valoreSystem::SharedPtr<Object>Il valore dell’intestazione.

Vedi anche