Share via


IBindableVectorView 介面

定義

表示可系結之物件的唯讀向量集合。

public interface class IBindableVectorView : IBindableIterable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(879613671, 38766, 19395, 129, 93, 236, 226, 67, 188, 15, 51)]
struct IBindableVectorView : IBindableIterable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(879613671, 38766, 19395, 129, 93, 236, 226, 67, 188, 15, 51)]
public interface IBindableVectorView : IEnumerable
Public Interface IBindableVectorView
Implements IEnumerable
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

此介面支援在 C++ 中建立資料可系結集合。 使用 .NET 進行程式設計時,您應該使用 ObservableCollection (Of T) 或實作 IListINotifyCollectionChanged。 如需詳細資訊,請參閱 系結至集合

介面繼承

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

屬性

Size

取得向量中的專案數。

方法

GetAt(UInt32)

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

IndexOf(Object, UInt32)

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

適用於

另請參閱