SPDataSource.List Property
Gets or sets the list that the query will operate against.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property List As SPList
Get
Set
'Usage
Dim instance As SPDataSource
Dim value As SPList
value = instance.List
instance.List = value
public SPList List { get; set; }
Property Value
Type: Microsoft.SharePoint.SPList
An SPList object that represents the list that the query will operate against.
Remarks
If you specify a list by setting this property, it is not necessary to specify a list in the SelectParameters property.