IBindableIterator Interface
Definition
Supports bindable iteration over a collection.
Equivalent WinUI interface: Microsoft.UI.Xaml.Interop.IBindableIterator.
public interface class IBindableIterator
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1780313095, 1901, 18930, 131, 20, 245, 44, 156, 154, 131, 49)]
/// [Windows.Foundation.Metadata.WebHostHidden]
struct IBindableIterator
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1780313095, 1901, 18930, 131, 20, 245, 44, 156, 154, 131, 49)]
[Windows.Foundation.Metadata.WebHostHidden]
public interface IBindableIterator
Public Interface IBindableIterator
- Attributes
Windows 10 requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
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. Equivalent WinUI property: Microsoft.UI.Xaml.Interop.IBindableIterator.Current. |
HasCurrent |
Gets a value that indicates whether there is a current item or the iterator is at the end of the collection. Equivalent WinUI property: Microsoft.UI.Xaml.Interop.IBindableIterator.HasCurrent. |
Methods
MoveNext() |
Moves the iterator forward to the next item and returns HasCurrent. Equivalent WinUI method: Microsoft.UI.Xaml.Interop.IBindableIterator.MoveNext. |