GeneratorPosition(Int32, Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的實例 GeneratorPosition ,使用指定的索引與偏移量。
public:
GeneratorPosition(int index, int offset);
public GeneratorPosition(int index, int offset);
new System.Windows.Controls.Primitives.GeneratorPosition : int * int -> System.Windows.Controls.Primitives.GeneratorPosition
Public Sub New (index As Integer, offset As Integer)
參數
- offset
- Int32
一個 Int32 相對於索引項目附近未產生(未實現)項目的偏移量。 偏移量為 0 指的是索引元素本身,偏移量 1 指的是下一個未產生(未實現)的項目,偏移量為 -1 則是前一個項目。