HttpCredentialsHeaderValue.TryParse(String, HttpCredentialsHeaderValue) HttpCredentialsHeaderValue.TryParse(String, HttpCredentialsHeaderValue) HttpCredentialsHeaderValue.TryParse(String, HttpCredentialsHeaderValue) HttpCredentialsHeaderValue.TryParse(String, HttpCredentialsHeaderValue) HttpCredentialsHeaderValue.TryParse(String, HttpCredentialsHeaderValue) Method

Definition

Determines whether a string is valid HttpCredentialsHeaderValue information.

public : static Platform::Boolean TryParse(Platform::String input, HttpCredentialsHeaderValue credentialsHeaderValue)
static bool TryParse(winrt::hstring input, HttpCredentialsHeaderValue const& credentialsHeaderValue) const;
public static bool TryParse(String input, HttpCredentialsHeaderValue credentialsHeaderValue)
Public Shared Function TryParse(input As String, credentialsHeaderValue As HttpCredentialsHeaderValue) As bool
var bool = Windows.Web.Http.Headers.HttpCredentialsHeaderValue.tryParse(input, credentialsHeaderValue);

Parameters

input
String String String

The string to validate.

Returns

bool bool bool

true if input is valid HttpCredentialsHeaderValue information; otherwise, false.