共用方式為


DefaultApiConventions.Delete(Object) 方法

定義

刪除慣例。

public:
 static void Delete(System::Object ^ id);
[Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatch(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior.Prefix)]
[Microsoft.AspNetCore.Mvc.ProducesDefaultResponseType]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(200)]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(404)]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(400)]
public static void Delete (object id);
[<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatch(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior.Prefix)>]
[<Microsoft.AspNetCore.Mvc.ProducesDefaultResponseType>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(200)>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(404)>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(400)>]
static member Delete : obj -> unit
Public Shared Sub Delete (id As Object)

參數

id
Object
屬性

適用於