IBindableVectorView Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a read-only vector collection of objects that is bindable.
public interface class IBindableVectorView : IBindableIterable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(879613671, 38766, 19395, 129, 93, 236, 226, 67, 188, 15, 51)]
struct IBindableVectorView : IBindableIterable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(879613671, 38766, 19395, 129, 93, 236, 226, 67, 188, 15, 51)]
public interface IBindableVectorView : IBindableIterable
Public Interface IBindableVectorView
Implements IEnumerable
- Attributes
- Implements
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.
Interface inheritance
IBindableVectorView inherits IBindableIterable. Types that implement IBindableVectorView also implement the interface members of IBindableIterable for C++ usage.
Properties
Size |
Gets the number of items in the vector. |
Methods
First() |
Returns a bindable iterator that iterates over the items in the collection. (Inherited from IBindableIterable) |
GetAt(UInt32) |
Returns the item at the specified index in the vector. |
IndexOf(Object, UInt32) |
Returns the index of a specified item in the vector. |