Share via


IBindableVector Interface

Definition

Represents a writeable vector collection of objects that is bindable.

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

public interface class IBindableVector : IBindableIterable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(960358366, 28624, 19469, 187, 113, 71, 36, 74, 17, 62, 147)]
struct IBindableVector : IBindableIterable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(960358366, 28624, 19469, 187, 113, 71, 36, 74, 17, 62, 147)]
public interface IList : IBindableIterable
Public Interface IList
Implements IEnumerable
Derived
Attributes
Implements

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

Gets the number of items in the vector.

Methods

Append(Object)

Appends an item to the end of the vector.

Clear()

Removes all items from the vector.

First()

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

(Inherited from IBindableIterable)
GetAt(UInt32)

Returns the item at the specified index in the vector.

GetView()

Returns an immutable view of the vector.

IndexOf(Object, UInt32)

Returns the index of a specified item in the vector.

InsertAt(UInt32, Object)

Inserts an item into a vector at a specified index.

RemoveAt(UInt32)

Removes the item at the specified index in the vector.

RemoveAtEnd()

Removes the last item in the vector.

SetAt(UInt32, Object)

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

Applies to

See also