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)

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.

See also

Reference

SPDataSource class

SPDataSource members

Microsoft.SharePoint.WebControls namespace