Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ContentByQueryWebPart.QueryOverride 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)
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string QueryOverride { get; set; }

Property value

Type: System.String
The list field name used to filter the set of list items.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.