HttpMethods.IsDelete(String) 方法

定义

返回一个值,该值指示 HTTP 请求方法是否为 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

参数

method
String

HTTP 请求方法。

返回

true 如果方法为 DELETE,则为 ;否则为 false

适用于