AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Určuje, zda je řetězec platnými AuthenticationHeaderValue informacemi.
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
Parametry
- input
- String
Řetězec, který chcete ověřit.
- parsedValue
- AuthenticationHeaderValue
Verze AuthenticationHeaderValue řetězce
Návraty
true pokud input je platná AuthenticationHeaderValue informace, jinak hodnota false.