Unit.Implicit(Int32 to Unit) 操作员

定义

从指定的 32 位无符号整数隐式创建类型UnitPixel

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

参数

n
Int32

一个表示长度的 Unit32 位有符号整数。

返回

一种 Unit 类型 Pixel ,表示参数 n 指定的 32 位无符号整数。

注解

此运算符的等效方法为 Unit.Pixel(Int32)

适用于

另请参阅