Szerkesztés

Megosztás a következőn keresztül:


AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Method

Definition

Determines whether a string is valid AuthenticationHeaderValue information.

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

Parameters

input
String

The string to validate.

parsedValue
AuthenticationHeaderValue

The AuthenticationHeaderValue version of the string.

Returns

true if input is valid AuthenticationHeaderValue information; otherwise, false.

Applies to