ContentByQueryWebPart.ListsOverride property

Gets or sets the list field name used to filter the set of list items.

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

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ListsOverride As String
	Get
	Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String

value = instance.ListsOverride

instance.ListsOverride = value

Property value

Type: System.String
List field name used to fliter the set of list items.

Using this property grays out part of the tool pane that configures the scope.

Show: