共用方式為


ViewComponentResult.StatusCode 屬性

定義

取得或設定 HTTP 狀態碼。

public:
 property Nullable<int> StatusCode { Nullable<int> get(); void set(Nullable<int> value); };
public int? StatusCode { get; set; }
member this.StatusCode : Nullable<int> with get, set
Public Property StatusCode As Nullable(Of Integer)

屬性值

適用於