Share via


HttpMethod(String) コンストラクター

定義

特定の HTTP メソッドを使用して 、HttpMethod クラスの新しいインスタンスを初期化します。

public:
 HttpMethod(Platform::String ^ method);
 HttpMethod(winrt::hstring const& method);
public HttpMethod(string method);
function HttpMethod(method)
Public Sub New (method As String)

パラメーター

method
String

Platform::String

winrt::hstring

HTTP メソッド。

注釈

アプリで HTTP メソッドに静的プロパティの 1 つと異なる値が必要な場合、HttpMethod コンストラクターは、呼び出し元が指定する HTTP メソッドを使用して HttpMethod の新しいインスタンスを初期化します。

適用対象