Condividi tramite


HttpExpectationHeaderValue.TryParse Metodo

Definizione

Determina se una stringa è un valore HttpCredentialsHeaderValue valido.

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

Parametri

input
String

Platform::String

winrt::hstring

Stringa da convalidare.

expectationHeaderValue
HttpExpectationHeaderValue

Versione HttpExpectationHeaderValue della stringa.

Restituisce

Boolean

bool

true se l'input è un valore HttpExpectationHeaderValue valido; in caso contrario, false.

Si applica a