Dela via


ViewResult.StatusCode Property

Definition

Gets or sets the HTTP status code.

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)

Property Value

Applies to