Web API Core | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / Created Method / Created(String,Object) Method
The URI at which the content has been created.
The content value to format in the entity body.

In This Topic
    Created(String,Object) Method
    In This Topic
    Creates a Microsoft.AspNetCore.Mvc.CreatedResult object that produces a Created (201) response.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Created( _
       ByVal uri As String, _
       ByVal value As Object _
    ) As CreatedResult
    public virtual CreatedResult Created( 
       string uri,
       object value
    )

    Parameters

    uri
    The URI at which the content has been created.
    value
    The content value to format in the entity body.

    Return Value

    The created Microsoft.AspNetCore.Mvc.CreatedResult for the response.
    See Also