共用方式為


IBindableVector 介面

定義

表示可系結之物件的可寫入向量集合。

。網 此介面會顯示為 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
衍生
屬性
實作

備註

使用 .NET 進行程式設計時,此介面會隱藏,開發人員應該使用 System.Collections.IList 介面。

介面繼承

IBindableVector 繼承 IBindableIterable。 實作 IBindableVector 的類型也會針對 C++ 使用方式實作 IBindableIterable 的介面成員。

屬性

Size

取得向量中的專案數。

方法

Append(Object)

將專案附加至向量結尾。

Clear()

從向量移除所有專案。

First()

傳回可系結反覆運算器,逐一查看集合中的專案。

(繼承來源 IBindableIterable)
GetAt(UInt32)

傳回向量中指定索引處的專案。

GetView()

傳回向量的不可變檢視。

IndexOf(Object, UInt32)

傳回向量中指定專案的索引。

InsertAt(UInt32, Object)

將專案插入指定索引處的向量。

RemoveAt(UInt32)

移除向量中指定索引處的專案。

RemoveAtEnd()

移除向量中的最後一個專案。

SetAt(UInt32, Object)

在向量的指定索引處設定專案值。

適用於

另請參閱