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(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(960358366, 28624, 19469, 187, 113, 71, 36, 74, 17, 62, 147)]
struct IBindableVector : IBindableIterable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(960358366, 28624, 19469, 187, 113, 71, 36, 74, 17, 62, 147)]
public interface IList : IEnumerable
Public Interface IList
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

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.

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