ListViewByQuery.Query property

Gets or sets the query for the list view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPQuery Query { get; set; }

Property value

Type: Microsoft.SharePoint.SPQuery
An SPQuery object that represents the query.
Show: