## HttpHeaders::TryGetValues method


Tenta di ottenere i valori corrispondenti per il nome specificato.

```cpp
bool System::Net::Http::Headers::HttpHeaders::TryGetValues(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> &values)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| name | String | Il nome dell'intestazione. |
| valori | System::SharedPtr\<Collections::Generic::IEnumerable\<String\>\>\& | Un'istanza in cui verranno assegnati i valori corrispondenti. |

### ReturnValue

True quando i valori dell'intestazione sono trovati per il nome specificato, altrimenti false.

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerable](../../../system.collections.generic/ienumerable/)
* Class [HttpHeaders](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Page for C++](../../../)
