FieldOffsetAttribute(Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的類別實例 FieldOffsetAttribute ,將結構中的偏移量初始化為欄位的起始。
public:
FieldOffsetAttribute(int offset);
public FieldOffsetAttribute(int offset);
new System.Runtime.InteropServices.FieldOffsetAttribute : int -> System.Runtime.InteropServices.FieldOffsetAttribute
Public Sub New (offset As Integer)
參數
- offset
- Int32
從結構起始點到欄位起始點的位元組。