共用方式為


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

要格式化為實體主體的內容。

適用於