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 IBindableVectorpublic interface IBindableVectorPublic Interface IBindableVector// This API is not available in Javascript.
- Inheritance
-
IBindableVectorIBindableVectorIBindableVectorIBindableVector
- Attributes
| 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 Size
Gets the number of items in the vector.
public : unsigned int Size { get; }public uint Size { get; }Public ReadOnly Property Size As uint// This API is not available in Javascript.
- Value
- unsigned int uint uint uint
The number of items in the vector.
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) Append(Object)
Appends an item to the end of the vector.
public : void Append(PlatForm::Object value)public void Append(Object value)Public Function Append(value As Object) As void// This API is not available in Javascript.
- value
- PlatForm::Object Object Object Object
The item to append to the vector.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.
- See Also
Clear() Clear() Clear() Clear()
Removes all items from the vector.
public : void Clear()public void Clear()Public Function Clear() As void// This API is not available in Javascript.
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) GetAt(UInt32)
Returns the item at the specified index in the vector.
public : PlatForm::Object GetAt(unsigned int index)public object GetAt(UInt32 index)Public Function GetAt(index As UInt32) As object// This API is not available in Javascript.
- index
- unsigned int UInt32 UInt32 UInt32
The zero-based index of the item in the vector to return.
The item at the specified index.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.
- See Also
GetView() GetView() GetView() GetView()
Returns an immutable view of the vector.
public : IBindableVectorView GetView()public IBindableVectorView GetView()Public Function GetView() As IBindableVectorView// This API is not available in Javascript.
The view of the vector.
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) IndexOf(Object, UInt32)
Returns the index of a specified item in the vector.
public : PlatForm::Boolean IndexOf(PlatForm::Object value, unsigned int index)public bool IndexOf(Object value, UInt32 index)Public Function IndexOf(value As Object, index As UInt32) As bool// This API is not available in Javascript.
- value
- PlatForm::Object Object Object Object
The item to find in the vector.
- index
- unsigned int UInt32 UInt32 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.
true if the item is found; false if the item is not found.
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) InsertAt(UInt32, Object)
Inserts an item into a vector at a specified index.
public : void InsertAt(unsigned int index, PlatForm::Object value)public void InsertAt(UInt32 index, Object value)Public Function InsertAt(index As UInt32, value As Object) As void// This API is not available in Javascript.
- index
- unsigned int UInt32 UInt32 UInt32
The index at which to insert.
- value
- PlatForm::Object Object Object Object
The item to insert.
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) RemoveAt(UInt32)
Removes the item at the specified index in the vector.
public : void RemoveAt(unsigned int index)public void RemoveAt(UInt32 index)Public Function RemoveAt(index As UInt32) As void// This API is not available in Javascript.
- index
- unsigned int UInt32 UInt32 UInt32
The zero-based index of the vector, at which to remove the item.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.
- See Also
RemoveAtEnd() RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()
Removes the last item in the vector.
public : void RemoveAtEnd()public void RemoveAtEnd()Public Function RemoveAtEnd() As void// This API is not available in Javascript.
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) SetAt(UInt32, Object)
Sets the item value at the specified index of the vector.
public : void SetAt(unsigned int index, PlatForm::Object value)public void SetAt(UInt32 index, Object value)Public Function SetAt(index As UInt32, value As Object) As void// This API is not available in Javascript.
- index
- unsigned int UInt32 UInt32 UInt32
The zero-based index of the vector, at which to set the value.
- value
- PlatForm::Object Object Object Object
The item value to set.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.
- See Also
See Also
- IBindableIterable IEnumerable IEnumerable IEnumerable
- XAML data binding sample