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

属性值

适用于