HttpContentCodingHeaderValue.TryParse Método

Definição

Determina se uma cadeia de caracteres é uma informação HttpContentCodingHeaderValue válida.

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

Parâmetros

input
String

Platform::String

winrt::hstring

A cadeia de caracteres a ser validada.

contentCodingHeaderValue
HttpContentCodingHeaderValue

A versão HttpContentCodingHeaderValue da cadeia de caracteres.

Retornos

Boolean

bool

true se a entrada for uma informação HttpContentCodingHeaderValue válida; caso contrário, false.

Aplica-se a