Rediger

Del via


GeneratorPosition.Index Property

Definition

Gets or sets the index that is relative to the generated (realized) items.

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

Property Value

The index that is relative to the generated (realized) items.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) GeneratorPosition struct. For more information, see GeneratorPosition in the UWP API reference.

-1 is a special value that refers to a fictitious item at the beginning or the end of the items list.

Applies to