Share via


ListViewByQuery.Query Property

Gets or sets the query for the list view.

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

Syntax

Public Property Query As SPQuery
    Get
    Set

Dim instance As ListViewByQuery
Dim value As SPQuery

value = instance.Query

instance.Query = value
public SPQuery Query { get; set; }

Property Value

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

See Also

Reference

ListViewByQuery Class

ListViewByQuery Members

Microsoft.SharePoint.WebControls Namespace