FontUnit.Implicit(Int32 to FontUnit) 操作员

定义

从整数值隐式创建 FontUnit 类型 Point

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

参数

n
Int32

一个整数, Point 表示要转换为值 FontUnit

返回

一种 FontUnit 类型 Point ,表示指定参数的 n 字号。

注解

此运算符的等效方法为 FontUnit.Point(Int32)

适用于

另请参阅