HttpHandlerAction.Verb Vlastnost

Definice

Získá nebo nastaví sloveso povolené objektem 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

Hodnota vlastnosti

String

Sloveso povolené objektem.

Atributy

Příklady

Následující příklad kódu ukazuje, jak získat přístup k Verb vlastnosti.

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

Poznámky

Tato Verb vlastnost může být seznam příkazů HTTP oddělených čárkami (například GET, PUT, POST).

Platí pro