HttpContentCodingHeaderValue.Parse(String) Méthode

Définition

Convertit une chaîne en instance HttpContentCodingHeaderValue.

public:
 static HttpContentCodingHeaderValue ^ Parse(Platform::String ^ input);
 static HttpContentCodingHeaderValue Parse(winrt::hstring const& input);
public static HttpContentCodingHeaderValue Parse(string input);
function parse(input)
Public Shared Function Parse (input As String) As HttpContentCodingHeaderValue

Paramètres

input
String

Platform::String

winrt::hstring

Chaîne qui représente les informations de codage de contenu dans l’en-tête HTTP Content-Encoding .

Retours

Un instance HttpContentCodingHeaderValue.

Remarques

Voici les exceptions levées par cette fonction.

E_INVALIDARG

Le paramètre d’entrée est null (Nothing en Visual Basic).

Le paramètre d’entrée n’est pas des informations de codage de contenu valides.

S’applique à