GeneratorPosition.Index 属性

定义

获取或设置 Int32 相对于生成的(已实现)项的索引。

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

属性值

相对于 Int32 生成的(已实现)项的索引。

注解

-1 是一个特殊值,该值引用项目列表开头或末尾的虚构项。

适用于