共用方式為


DefaultApiConventions.Update(Object, Object) 方法

定義

更新慣例。

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

參數

id
Object
model
Object
屬性

適用於