I​Bindable​Iterator I​Bindable​Iterator I​Bindable​Iterator Interface

Definition

Supports bindable iteration over a collection.

public : interface IBindableIteratorpublic interface IBindableIteratorPublic Interface IBindableIterator
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged. For more info, see Binding to collections.

Properties

Current Current Current

Gets the current item in the collection.

public : PlatForm::Object Current { get; }public object Current { get; }Public ReadOnly Property Current As object
Value
PlatForm::Object object object

The current item in the collection.

Attributes

Remarks

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged.

See Also

HasCurrent HasCurrent HasCurrent

Gets a value that indicates whether there is a current item or the iterator is at the end of the collection.

public : PlatForm::Boolean HasCurrent { get; }public bool HasCurrent { get; }Public ReadOnly Property HasCurrent As bool
Value
PlatForm::Boolean bool bool

true if the iterator refers to a valid item that is in the collection; otherwise, false.

Attributes

Remarks

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged.

See Also

Methods

MoveNext() MoveNext() MoveNext()

Moves the iterator forward to the next item and returns HasCurrent.

public : PlatForm::Boolean MoveNext()public bool MoveNext()Public Function MoveNext() As bool
Returns
PlatForm::Boolean bool bool

true if the iterator refers to a valid item that is in the collection; otherwise, false.

Attributes

Remarks

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged.

See Also

See Also