SPListItemCollection.SourceQuery property
Gets the query that retrieved the current collection of list items.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property SourceQuery As SPQuery
Get
'Usage
Dim instance As SPListItemCollection
Dim value As SPQuery
value = instance.SourceQuery
public SPQuery SourceQuery { get; }
Property value
Type: Microsoft.SharePoint.SPQuery
An SPQuery object that represents the query that retrieved the current collection.