SPListCollection.Item property (Int32)
取得集合中指定之索引處的清單物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPList
Get
'用途
Dim instance As SPListCollection
Dim index As Integer
Dim value As SPList
value = instance(index)
public SPList this[
int index
] { get; }
參數
index
Type: System.Int32若要取得清單的索引。
Property value
Type: Microsoft.SharePoint.SPList
SPList 物件,表示清單。
備註
如果指定的索引超出索引集合的有效範圍的Item屬性,就會擲回例外狀況ArgumentOutOfRangeException 。