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

In This Topic
    Created(Uri,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 Uri, _
       ByVal value As Object _
    ) As CreatedResult
    public virtual CreatedResult Created( 
       Uri 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