ViewResult.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)

属性值

适用于