HttpProductInfoHeaderValue.TryParse Método

Definição

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

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

Parâmetros

input
String

Platform::String

winrt::hstring

A cadeia de caracteres a ser validada.

productInfoHeaderValue
HttpProductInfoHeaderValue

A versão HttpProductInfoHeaderValue da cadeia de caracteres.

Retornos

Boolean

bool

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

Aplica-se a