IBindableVectorView
IBindableVectorView
IBindableVectorView
IBindableVectorView
Interface
Definition
Represents a read-only vector collection of objects that is bindable.
public : interface IBindableVectorViewpublic interface IBindableVectorViewPublic Interface IBindableVectorView// This API is not available in Javascript.
- Inheritance
-
IBindableVectorViewIBindableVectorViewIBindableVectorViewIBindableVectorView
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
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 Size Size Size
Gets the number of items in the vector.
public : unsigned int Size { get; }public uint Size { get; }Public ReadOnly Property Size As uint// This API is not available in Javascript.
- Value
- unsigned int uint uint uint
The number of items in the vector.
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
GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)
Returns the item at the specified index in the vector.
public : PlatForm::Object GetAt(unsigned int index)public object GetAt(UInt32 index)Public Function GetAt(index As UInt32) As object// This API is not available in Javascript.
- index
- unsigned int UInt32 UInt32 UInt32
The zero-based index of the item in the vector to return.
The item at the specified index.
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
IndexOf(Object, UInt32) IndexOf(Object, UInt32) IndexOf(Object, UInt32) IndexOf(Object, UInt32)
Returns the index of a specified item in the vector.
public : PlatForm::Boolean IndexOf(PlatForm::Object value, unsigned int index)public bool IndexOf(Object value, UInt32 index)Public Function IndexOf(value As Object, index As UInt32) As bool// This API is not available in Javascript.
- value
- PlatForm::Object Object Object Object
The item to find in the vector.
- index
- unsigned int UInt32 UInt32 UInt32
The zero-based index of the item if found. 0 is returned if the item is not found, so be sure to check the return value.
true if the item is found; false if the item is not found.
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
- IBindableIterable IEnumerable IEnumerable IEnumerable
- XAML data binding sample