แก้ไข

แชร์ผ่าน


GeneratorPosition.Offset Property

Definition

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.

Applies to