Compartilhar via


SPDataSourceView.List Property

Gets or sets the list that is represented in the data view.

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 SPDataSourceView
Dim value As SPList

value = instance.List

instance.List = value
public SPList List { get; set; }

Property Value

Type: Microsoft.SharePoint.SPList
A Microsoft.SharePoint.SPList object that represents the list that provides data for the view.

See Also

Reference

SPDataSourceView Class

SPDataSourceView Members

Microsoft.SharePoint.WebControls Namespace