OkObjectResult(Object) 构造函数

定义

初始化 OkObjectResult 类的新实例。

public:
 OkObjectResult(System::Object ^ value);
public OkObjectResult (object value);
public OkObjectResult (object? value);
new Microsoft.AspNetCore.Mvc.OkObjectResult : obj -> Microsoft.AspNetCore.Mvc.OkObjectResult
Public Sub New (value As Object)

参数

value
Object

要格式化为实体正文的内容。

适用于