I​Bindable​Vector I​Bindable​Vector I​Bindable​Vector Interface

Definition

Represents a writeable vector collection of objects that is bindable.

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

public interface IBindableVectorpublic interface IBindableVectorPublic Interface IBindableVector
Inheritance
IBindableVectorIBindableVectorIBindableVector
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

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

Gets the number of items in the vector.

public unsigned short Size { get; }public uint Size { get; }Public ReadOnly Property Size As uint
Value
uint uint uint

The number of items in the vector.

Attributes

Remarks

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

See Also

Methods

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

Appends an item to the end of the vector.

public void Append(Object value)public void Append(Object value)Public Function Append(value As Object) As void
Parameters
value
System.Object System.Object System.Object

The item to append to the vector.

Attributes

Remarks

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

See Also

Clear() Clear() Clear()

Removes all items from the vector.

public void Clear()public void Clear()Public Function Clear() As void
Attributes

Remarks

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

See Also

GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)

Returns the item at the specified index in the vector.

public PlatForm::Object GetAt(UInt32 index)public object GetAt(UInt32 index)Public Function GetAt(index As UInt32) As object
Parameters
index
System.UInt32 System.UInt32 System.UInt32

The zero-based index of the item in the vector to return.

Returns
object object object

The item at the specified index.

Attributes

Remarks

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

See Also

GetView() GetView() GetView()

Returns an immutable view of the vector.

public IBindableVectorView GetView()public IBindableVectorView GetView()Public Function GetView() As IBindableVectorView
Returns
Attributes

Remarks

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

See Also

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

Returns the index of a specified item in the vector.

public PlatForm::Boolean IndexOf(Object value, UInt32 index)public bool IndexOf(Object value, UInt32 index)Public Function IndexOf(value As Object, index As UInt32) As bool
Parameters
value
System.Object System.Object System.Object

The item to find in the vector.

index
System.UInt32 System.UInt32 System.UInt32

The zero-based index of the item if found. 0 is returned if the item is not found, so be sure to check the return value.

Returns
bool bool bool

true if the item is found; false if the item is not found.

Attributes

Remarks

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

See Also

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

Inserts an item into a vector at a specified index.

public void InsertAt(UInt32 index, Object value)public void InsertAt(UInt32 index, Object value)Public Function InsertAt(index As UInt32, value As Object) As void
Parameters
index
System.UInt32 System.UInt32 System.UInt32

The index at which to insert.

value
System.Object System.Object System.Object

The item to insert.

Attributes

Remarks

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

See Also

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

Removes the item at the specified index in the vector.

public void RemoveAt(UInt32 index)public void RemoveAt(UInt32 index)Public Function RemoveAt(index As UInt32) As void
Parameters
index
System.UInt32 System.UInt32 System.UInt32

The zero-based index of the vector, at which to remove the item.

Attributes

Remarks

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

See Also

RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()

Removes the last item in the vector.

public void RemoveAtEnd()public void RemoveAtEnd()Public Function RemoveAtEnd() As void
Attributes

Remarks

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

See Also

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

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

public void SetAt(UInt32 index, Object value)public void SetAt(UInt32 index, Object value)Public Function SetAt(index As UInt32, value As Object) As void
Parameters
index
System.UInt32 System.UInt32 System.UInt32

The zero-based index of the vector, at which to set the value.

value
System.Object System.Object System.Object

The item value to set.

Attributes

Remarks

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

See Also

See Also