Share via


IBindableVectorView.GetAt(UInt32) 方法

定义

返回向量中指定索引处的项。

public:
 Platform::Object ^ GetAt(unsigned int index);
IInspectable GetAt(uint32_t const& index);
public object GetAt(uint index);
function getAt(index)
Public Function GetAt (index As UInteger) As Object

参数

index
UInt32

unsigned int

uint32_t

要返回的向量中项的从零开始的索引。

返回

Object

Platform::Object

IInspectable

指定索引处的项。

注解

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

适用于

另请参阅