Class ContentQueryParametersUrlExtensions
Content query parameters extension methods related to web page URLs.
public static class ContentQueryParametersUrlExtensions
- Inheritance
-
objectContentQueryParametersUrlExtensions
Methods
UrlPathColumns(ContentQueryParameters)
Configures URL path columns to be selected.
public static ContentQueryParameters UrlPathColumns(this ContentQueryParameters parameters)
Parameters
parameters
ContentQueryParametersContent query parameters.
Returns
Remarks
The method is used to further parametrize the content query by configuring required columns (WebPageItemID, WebPageItemTreePath, WebPageUrlPath, WebPageItemWebsiteChannelId and ContentItemCommonDataContentLanguageID) needed to retrieve the web page URL using Retrieve(int, string, bool, CancellationToken). The method needs to be called along with 'ForWebsite' or 'WithWebPageData' configured in action of ForContentType(string, Action<ContentTypeQueryParameters>).