Unit.Implicit(Int32 to Unit) Operator

Definition

Implicitly creates a Unit of type Pixel from the specified 32-bit unsigned integer.

public:
 static operator System::Web::UI::WebControls::Unit(int n);
public static implicit operator System.Web.UI.WebControls.Unit (int n);
static member op_Implicit : int -> System.Web.UI.WebControls.Unit
Public Shared Widening Operator CType (n As Integer) As Unit

Parameters

n
Int32

A 32-bit signed integer that represents the length of the Unit.

Returns

A Unit of type Pixel that represents the 32-bit unsigned integer specified by the n parameter.

Remarks

The equivalent method for this operator is Unit.Pixel(Int32)

Applies to

See also