I​Bindable​Vector​View I​Bindable​Vector​View I​Bindable​Vector​View Interface

Definition

Represents a read-only vector collection of objects that is bindable.

public interface IBindableVectorViewpublic interface IBindableVectorViewPublic Interface IBindableVectorView
Inheritance
IBindableVectorViewIBindableVectorViewIBindableVectorView
Attributes
Windows 10 requirements
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

Gets the number of items in the vector.

public unsigned short Size { get; }public uint Size { get; }Public ReadOnly Property Size As uint
Value
uint uint uint

The number of items in the vector.

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.

See Also

Methods

GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)

Returns the item at the specified index in the vector.

public PlatForm::Object GetAt(UInt32 index)public object GetAt(UInt32 index)Public Function GetAt(index As UInt32) As object
Parameters
index
System.UInt32 System.UInt32 System.UInt32

The zero-based index of the item in the vector to return.

Returns
object object object

The item at the specified index.

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.

See Also

IndexOf(Object, UInt32) IndexOf(Object, UInt32) IndexOf(Object, UInt32)

Returns the index of a specified item in the vector.

public PlatForm::Boolean IndexOf(Object value, UInt32 index)public bool IndexOf(Object value, UInt32 index)Public Function IndexOf(value As Object, index As UInt32) As bool
Parameters
value
System.Object System.Object System.Object

The item to find in the vector.

index
System.UInt32 System.UInt32 System.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.

Returns
bool bool bool

true if the item is found; false if the item is not found.

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.

See Also

See Also