[This is preliminary documentation and is subject to change.]

Performs an implicit conversion from Int32 to StatusStatusStatus.

Namespace: Simple.WebSimple.WebSimple::Web
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static implicit operator Status(

int httpStatus

)

VB

Public Shared Widening Operator CType ( _

httpStatus As Integer _

) As Status

C++

public:

static implicit operator Status(

int httpStatus

)

Parameters

httpStatus
Type: System.Int32System.Int32System::Int32
The HTTP status code.

Return Value

Type: Simple.Web.StatusSimple.Web.StatusSimple::Web::Status
The result of the conversion.

See Also

StatusStatusStatus Structure
ImplicitImplicitImplicit Overload
Simple.WebSimple.WebSimple::Web Namespace