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 バージョン。

返品

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

適用対象