Partilhar via


ListViewByQuery.List Property

Gets or sets the list that is rendered.

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 ListViewByQuery
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.

See Also

Reference

ListViewByQuery Class

ListViewByQuery Members

Microsoft.SharePoint.WebControls Namespace