Web API Core | ComponentOne
C1.Web.Api Namespace / C1ApiController 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 Overrides Function Ok( _
       ByVal value As Object _
    ) As OkObjectResult
    public override 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