語言

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

屬性值

受詞允許的動詞。

屬性

範例

以下程式碼範例說明如何存取該 Verb 物業。

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

備註

此 Verb 屬性可為逗號分隔的 HTTP 動詞列表(例如「GET, PUT, POST」)。

適用於