GeneratorPosition.Offset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the offset that is relative to the ungenerated (unrealized) items near the indexed item.
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
Property Value
The offset that is relative to the ungenerated (unrealized) items near the indexed item.
Remarks
This struct represents the .NET projection of the Windows Runtime (WinRT) GeneratorPosition
struct. For more information, see GeneratorPosition in the UWP API reference.
An offset of 0 refers to the indexed element itself, an offset 1 refers to the next ungenerated (unrealized) item, and an offset of -1 refers to the previous item.