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

適用於