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)

ベクター内の指定した項目のインデックスを返します。

適用対象

こちらもご覧ください