Share via


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

Int32 索引,相對於產生的 (實現的) 項目。

備註

-1 是特殊值,參考專案清單開頭或結尾的虛構專案。

適用於