HttpMethods.IsPost(String) Method

Definition

Returns a value that indicates if the HTTP request method is POST.

public:
 static bool IsPost(System::String ^ method);
public static bool IsPost (string method);
static member IsPost : string -> bool
Public Shared Function IsPost (method As String) As Boolean

Parameters

method
String

The HTTP request method.

Returns

true if the method is POST; otherwise, false.

Applies to