Share via


ItemsSourceView.GetAt(Int32) 方法

定义

检索指定索引处的项。

public:
 virtual Platform::Object ^ GetAt(int index) = GetAt;
IInspectable GetAt(int const& index);
public object GetAt(int index);
function getAt(index)
Public Function GetAt (index As Integer) As Object

参数

index
Int32

int

要检索的项的索引。

返回

Object

Platform::Object

IInspectable

指定索引处的项。

注解

使用 Count 属性可确保传递有效的 索引

适用于