Share via


AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Yöntem

Tanım

Bir dizenin geçerli AuthenticationHeaderValue bilgi olup olmadığını belirler.

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

Parametreler

input
String

Doğrulanacak dize.

parsedValue
AuthenticationHeaderValue

AuthenticationHeaderValue Dizenin sürümü.

Döndürülenler

truegeçerli bir bilgiyseinput; değilse, false.AuthenticationHeaderValue

Şunlara uygulanır