IBindableVector IBindableVector IBindableVector IBindableVector Interface

Definition

Represents a writeable vector collection of objects that is bindable.

.NET This interface appears as System.Collections.IList.

public : interface IBindableVector : IBindableIterable
struct winrt::Windows::UI::Xaml::Interop::IBindableVector : IBindableIterable
public interface IBindableVector : IEnumerable
Public Interface IBindableVector Implements IEnumerable
Inheritance
IEnumerableIEnumerable
IBindableVectorIBindableVectorIBindableVectorIBindableVector
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.

Interface inheritance

IBindableVector inherits IBindableIterable. Types that implement IBindableVector also implement the interface members of IBindableIterable for C++ usage.

Properties

Size Size Size Size

Gets the number of items in the vector.

Methods

Append(Object) Append(Object) Append(Object) Append(Object)

Appends an item to the end of the vector.

Clear() Clear() Clear() Clear()

Removes all items from the vector.

First First First First

Returns a bindable iterator that iterates over the items in the collection.

(Inherited from IBindableIterable)
GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)

Returns the item at the specified index in the vector.

GetView() GetView() GetView() GetView()

Returns an immutable view of the vector.

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

Returns the index of a specified item in the vector.

InsertAt(UInt32, Object) InsertAt(UInt32, Object) InsertAt(UInt32, Object) InsertAt(UInt32, Object)

Inserts an item into a vector at a specified index.

RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32)

Removes the item at the specified index in the vector.

RemoveAtEnd() RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()

Removes the last item in the vector.

SetAt(UInt32, Object) SetAt(UInt32, Object) SetAt(UInt32, Object) SetAt(UInt32, Object)

Sets the item value at the specified index of the vector.

See also