获取集合中指定索引处的 view 对象。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
iIndex As Integer _
) As SPView
Get
用法
Dim instance As SPViewCollection
Dim iIndex As Integer
Dim value As SPView
value = instance(iIndex)
public SPView this[
int iIndex
] { get; }
参数
iIndex
类型:System.Int3232 位整数,指定的索引。
属性值
类型:Microsoft.SharePoint.SPView
SPView 对象代表的视图。
备注
如果指定的 index 是索引集的有效范围之外, Item属性将引发ArgumentOutOfRangeException 。