Share via


HttpMethods.IsDelete(String) Method

Definition

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

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

Parameters

method
String

The HTTP request method.

Returns

true if the method is DELETE; otherwise, false.

Applies to