Dela via


DefaultApiConventions.Create(Object) Method

Definition

Create convention.

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

Parameters

model
Object
Attributes

Applies to