IBindableIterator Interface

Definition

Supports bindable iteration over a collection.

public interface class IBindableIterator
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1780313095, 1901, 18930, 131, 20, 245, 44, 156, 154, 131, 49)]
struct IBindableIterator
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1780313095, 1901, 18930, 131, 20, 245, 44, 156, 154, 131, 49)]
public interface IBindableIterator
Public Interface IBindableIterator
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. For more info, see Binding to collections.

Properties

Current

Gets the current item in the collection.

HasCurrent

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

Methods

MoveNext()

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

Applies to

See also