HttpProductHeaderValue.Parse(String) メソッド

定義

文字列を HttpProductHeaderValue インスタンスに変換します。

public:
 static HttpProductHeaderValue ^ Parse(Platform::String ^ input);
 static HttpProductHeaderValue Parse(winrt::hstring const& input);
public static HttpProductHeaderValue Parse(string input);
function parse(input)
Public Shared Function Parse (input As String) As HttpProductHeaderValue

パラメーター

input
String

Platform::String

winrt::hstring

製品名とバージョンを表す文字列。

戻り値

HttpProductHeaderValue インスタンス。

注釈

この関数がスローする例外を次に示します。

E_INVALIDARG

入力パラメーターが null (Visual Basic では Nothing) です

入力パラメーターが有効な製品名とバージョン情報ではありません。

適用対象