GeneratorPosition.Offset 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定相對於索引項目附近未產生 (未實現) 項目的位移。
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
屬性值
相對於未產生的位移 (已編制索引之專案附近的) 專案。
備註
此結構代表 Windows 執行階段 (WinRT) 結構的 .NET 投影 GeneratorPosition
。 如需詳細資訊,請參閱 UWP API 參考中的 GeneratorPosition 。
位移 0 指的是索引元素本身,位移 1 指的是下一個未產生 (未產生的) 專案,而位移 -1 則代表前一個專案。