Unit.Point(Int32) 方法

定義

從指定的 32 位元帶正負號的整數中,建立 Unit 型別的 Point

public:
 static System::Web::UI::WebControls::Unit Point(int n);
public static System.Web.UI.WebControls.Unit Point (int n);
static member Point : int -> System.Web.UI.WebControls.Unit
Public Shared Function Point (n As Integer) As Unit

參數

n
Int32

32 位元帶正負數整數,表示 Unit 的長度。

傳回

Unit 型別的 Point,表示 32 位元帶正負號之整數指定的長度。

備註

Point使用靜態方法來建立 UnitPoint 別的 ,代表 參數所 n 指定的長度。

注意

類別 Unit 只能代表介於 -32768 和 32767 之間的值。

適用於

另請參閱