HttpStatusCodeResult.StatusCode Property
Gets the HTTP status code.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property StatusCode As Integer
'Usage
Dim instance As HttpStatusCodeResult
Dim value As Integer
value = instance.StatusCode
public int StatusCode { get; private set; }
public:
property int StatusCode {
int get ();
private: void set (int value);
}
function get StatusCode () : int
private function set StatusCode (value : int)
Property Value
Type: System.Int32
The HTTP status code.