Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the list object that has the specified name from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
strListName As String _
) As SPList
Get
'Usage
Dim instance As SPListCollection
Dim strListName As String
Dim value As SPList
value = instance.Item(strListName)
public SPList this[
string strListName
] { get; }
Parameters
strListName
Type: System.StringA string that contains the name of a list to get.
Property Value
Type: Microsoft.SharePoint.SPList
An SPList object that represents the list.