IBindableIterator
IBindableIterator
IBindableIterator
IBindableIterator
Interface
Definition
Supports bindable iteration over a collection.
public : interface IBindableIteratorpublic interface IBindableIteratorPublic Interface IBindableIterator// This API is not available in Javascript.
- Attributes
| 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 Current
Gets the current item in the collection.
public : PlatForm::Object Current { get; }public object Current { get; }Public ReadOnly Property Current As object// This API is not available in Javascript.
- Value
- PlatForm::Object object object object
The current item in the collection.
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 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// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the iterator refers to a valid item that is in the collection; otherwise, false.
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() MoveNext()
Moves the iterator forward to the next item and returns HasCurrent.
public : PlatForm::Boolean MoveNext()public bool MoveNext()Public Function MoveNext() As bool// This API is not available in Javascript.
true if the iterator refers to a valid item that is in the collection; otherwise, false.
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