AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Метод

Определение

Определяет, является ли строка допустимыми сведениями AuthenticationHeaderValue.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::AuthenticationHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.AuthenticationHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.AuthenticationHeaderValue? parsedValue);
static member TryParse : string * AuthenticationHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As AuthenticationHeaderValue) As Boolean

Параметры

input
String

Проверяемая строка.

parsedValue
AuthenticationHeaderValue

Версия AuthenticationHeaderValue строки.

Возвращаемое значение

true, если input представляет допустимые сведения AuthenticationHeaderValue. В противном случае — false.

Применяется к