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ğrulanması gereken dize.

parsedValue
AuthenticationHeaderValue

Dizenin AuthenticationHeaderValue sürümü.

Döndürülenler

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

Şunlara uygulanır