IBindableVectorView interface

Applies to Windows and Windows Phone

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

Syntax


public interface IBindableVectorView : IEnumerable

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The IBindableVectorView interface has these types of members:

Methods

The IBindableVectorView interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetAt Returns the item at the specified index in the vector.
IndexOf Returns the index of a specified item in the vector.

 

Properties

The IBindableVectorView interface has these properties.

PropertyAccess typeDescription

Size

Read-onlyGets the number of items in the vector.

 

Remarks

This interface supports the creation of data bindable collections in C++. When building Windows Store apps with the Microsoft .NET Framework, 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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Interop
Windows::UI::Xaml::Interop [C++]

Metadata

Windows.winmd

See also

IBindableIterable
XAML data binding sample

 

 

Show:
© 2014 Microsoft