Share via


IBindableVectorView.Size 属性

定义

获取向量中的项数。

public:
 property unsigned int Size { unsigned int get(); };
uint32_t Size();
public uint Size { get; }
var uInt32 = iBindableVectorView.size;
Public ReadOnly Property Size As UInteger

属性值

UInt32

unsigned int

uint32_t

向量中的项数。

注解

此接口支持在 C++ 中创建数据可绑定集合。 使用 .NET 编程时,应使用 ObservableCollection (Of T) 或实现 IListINotifyCollectionChanged

适用于

另请参阅