FontUnit.Implicit(Int32 to FontUnit) Operator

Definition

Skapar implicit en FontUnit typ Point från ett heltalsvärde.

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

Parametrar

n
Int32

Ett heltal som representerar värdet Point som ska konverteras till en FontUnit.

Returer

En FontUnit typ Point som representerar teckenstorleken angav parametern n .

Kommentarer

Motsvarande metod för den här operatorn är FontUnit.Point(Int32)

Gäller för

Se även