HttpContentCodingHeaderValue.TryParse Metodo

Definizione

Determina se una stringa è valida per le informazioni HttpContentCodingHeaderValue .

public:
 static bool TryParse(Platform::String ^ input, [Out] HttpContentCodingHeaderValue ^ & contentCodingHeaderValue);
 static bool TryParse(winrt::hstring const& input, [Out] HttpContentCodingHeaderValue const& & contentCodingHeaderValue);
public static bool TryParse(string input, out HttpContentCodingHeaderValue contentCodingHeaderValue);
Public Shared Function TryParse (input As String, ByRef contentCodingHeaderValue As HttpContentCodingHeaderValue) As Boolean

Parametri

input
String

Platform::String

winrt::hstring

Stringa da convalidare.

contentCodingHeaderValue
HttpContentCodingHeaderValue

Versione HttpContentCodingHeaderValue della stringa.

Restituisce

Boolean

bool

true se l'input è valido httpContentCodingHeaderValue informazioni; in caso contrario, false.

Si applica a