Share via


HttpContentCodingHeaderValue.TryParse Methode

Definition

Bestimmt, ob eine Zeichenfolge gültige HttpContentCodingHeaderValue-Informationen ist.

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

Parameter

input
String

Platform::String

winrt::hstring

Die zu überprüfende Zeichenfolge.

contentCodingHeaderValue
HttpContentCodingHeaderValue

Die HttpContentCodingHeaderValue-Version der Zeichenfolge.

Gibt zurück

Boolean

bool

true , wenn die Eingabe gültige HttpContentCodingHeaderValue-Informationen ist; Andernfalls false.

Gilt für: