HttpCredentialsHeaderValue.TryParse Metodo

Definizione

Determina se una stringa è valida informazioni httpCredentialsHeaderValue .

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

Parametri

input
String

Platform::String

winrt::hstring

Stringa da convalidare.

credentialsHeaderValue
HttpCredentialsHeaderValue

Versione HttpCredentialsHeaderValue della stringa.

Restituisce

Boolean

bool

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

Si applica a