語言

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 是一個特殊值,指的是項目列表開頭或結尾的虛構項目。

適用於