Partilhar via


ListViewByQuery.Query Property

Gets or sets the query for the list view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property Query As SPQuery
    Get
    Set
'Usage
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