AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) メソッド

定義

文字列が有効な AuthenticationHeaderValue 情報かどうかを判断します。

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

パラメーター

input
String

検証対象の文字列。

parsedValue
AuthenticationHeaderValue

文字列の AuthenticationHeaderValue バージョン。

戻り値

input が有効な AuthenticationHeaderValue 情報の場合は true。それ以外の場合は false

適用対象