QueryOverride Property
TOC
Collapse the table of content
Expand the table of content

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.

Show:
© 2016 Microsoft