Web API Core | ComponentOne
C1.Web.Api.Document Namespace / DocumentController Class / Ok Method / Ok(Object) Method
The content value to format in the entity body.

In This Topic
    Ok(Object) Method
    In This Topic
    Creates an Microsoft.AspNetCore.Mvc.OkObjectResult object that produces an OK (200) response.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Ok( _
       ByVal value As Object _
    ) As OkObjectResult
    public virtual OkObjectResult Ok( 
       object value
    )

    Parameters

    value
    The content value to format in the entity body.

    Return Value

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