AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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