次の方法で共有


HttpHandlerAction.Verb プロパティ

定義

HttpHandlerAction オブジェクトで許可された動詞を取得または設定します。

public:
 property System::String ^ Verb { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("verb", IsKey=true, IsRequired=true)]
public string Verb { get; set; }
[<System.Configuration.ConfigurationProperty("verb", IsKey=true, IsRequired=true)>]
member this.Verb : string with get, set
Public Property Verb As String

プロパティ値

String

オブジェクトで許可された動詞。

属性

Verb プロパティへのアクセス方法を次のコード例に示します。

// Change the Verb for the HttpHandlerAction.
httpHandler.Verb = "POST";
' Change the Verb for the HttpHandlerAction.
httpHandler.Verb = "POST"

注釈

この Verb プロパティには、HTTP 動詞のコンマ区切りリスト ("GET、PUT、POST" など) を指定できます。

適用対象