Unit Widening Conversion (Int32 to Unit)

 
equivalentCodeEntityM:System.Web.UI.WebControls.Unit.Pixel(System.Int32)

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Public Shared Widening Operator CType (
	n As Integer
) As Unit

Parameters

n
Type: System.Int32

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

Return Value

Type: System.Web.UI.WebControls.Unit

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

.NET Framework
Available since 1.1
Return to top
Show: