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

定義

文字列が有効な ProductHeaderValue 情報であるかどうかを判断します。

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ProductHeaderValue ^ % parsedValue);
public static bool TryParse(string input, out System.Net.Http.Headers.ProductHeaderValue parsedValue);
static member TryParse : string * ProductHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ProductHeaderValue) As Boolean

パラメーター

input
String

検証する文字列。

parsedValue
ProductHeaderValue

文字列の ProductHeaderValue バージョン。

返品

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

適用対象