HttpHeaders.GetValues(String) Méthode

Définition

Retourne toutes les valeurs d’en-tête d’un en-tête spécifié stocké dans la HttpHeaders collection.

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ GetValues(System::String ^ name);
public System.Collections.Generic.IEnumerable<string> GetValues(string name);
member this.GetValues : string -> seq<string>
Public Function GetValues (name As String) As IEnumerable(Of String)

Paramètres

name
String

En-tête spécifié pour lequel retourner des valeurs.

Retours

Tableau de chaînes d’en-tête.

Exceptions

L’en-tête est introuvable.

S’applique à