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

整數,表示要轉換成 PointFontUnit 值。

傳回

FontUnit 型別的 Point,表示 n 參數指定的字型大小。

備註

這個運算子的對等方法為 FontUnit.Point(Int32)

適用於

另請參閱