Dela via


IBindableVectorView Interface

Definition

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

public interface class IBindableVectorView : IBindableIterable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(879613671, 38766, 19395, 129, 93, 236, 226, 67, 188, 15, 51)]
struct IBindableVectorView : IBindableIterable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(879613671, 38766, 19395, 129, 93, 236, 226, 67, 188, 15, 51)]
public interface IBindableVectorView : IEnumerable
Public Interface IBindableVectorView
Implements IEnumerable
Attributes
Implements

Windows 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.

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

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.

Applies to

See also