GeneratorPosition.Offset 属性

定义

获取或设置 Int32 相对于索引项附近的未生成的 (unrealized) 项的偏移量。

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 索引项附近的未生成的 (unrealized) 项的偏移量。

注解

0 的偏移量是指索引元素本身,偏移量 1 表示下一个未生成的(未实现)项,而 -1 的偏移量表示上一项。

适用于