語言

GeneratorPosition.Offset 屬性

定義

取得或設定 Int32 相對於未產生(未實現)項目的偏移量,該項目靠近索引項目。

public:
 property int Offset { int get(); void set(int value); };
public int Offset { get; set; }
member this.Offset : int with get, set
Public Property Offset As Integer

屬性值

一個 Int32 相對於索引項目附近未產生(未實現)項目的偏移量。

備註

偏移量為 0 指的是索引元素本身,偏移量 1 指的是下一個未產生(未實現)的項目,偏移量為 -1 則指的是前一個項目。

適用於