編輯

共用方式為


IXamlIndexingReader.CurrentIndex Property

Definition

Gets or sets the index number of the current reader position for the indexed list view of XAML nodes.

public:
 property int CurrentIndex { int get(); void set(int value); };
public int CurrentIndex { get; set; }
member this.CurrentIndex : int with get, set
Public Property CurrentIndex As Integer

Property Value

The index number of the current reader position.

Remarks

When using the CurrentIndex property, you are using a XAML node reader mode that does not have to use Read or Skip to traverse all intermediate nodes.

Applies to