Condividi tramite


HttpConnectionOptionHeaderValue.TryParse Metodo

Definizione

Determina se una stringa è valida informazioni HttpConnectionOptionHeaderValue .

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

Parametri

input
String

Platform::String

winrt::hstring

Stringa da convalidare.

connectionOptionHeaderValue
HttpConnectionOptionHeaderValue

Versione HttpConnectionOptionHeaderValue della stringa.

Restituisce

Boolean

bool

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

Si applica a