Class ContentTypeQueryParametersExtensions
Content type query parameters extension methods related to web pages.
public static class ContentTypeQueryParametersExtensions
- Inheritance
-
objectContentTypeQueryParametersExtensions
Methods
ForWebsite(ContentTypeQueryParameters, string, PathMatch, bool)
Adds the website data to the result query.
public static ContentTypeQueryParameters ForWebsite(this ContentTypeQueryParameters parameters, string websiteChannelName, PathMatch pathMatch = null, bool includeUrlPath = true)
Parameters
parameters
ContentTypeQueryParametersContent type query parameters.
websiteChannelName
stringName of the website channel.
pathMatch
PathMatchWeb page tree path for which the query should be limited.
includeUrlPath
boolIndicates if the URL path should be included in the retrieved data.
Returns
ForWebsite(ContentTypeQueryParameters, string, PathMatch[], bool)
Adds the website data to the result query.
public static ContentTypeQueryParameters ForWebsite(this ContentTypeQueryParameters parameters, string websiteChannelName, PathMatch[] pathMatches, bool includeUrlPath = true)
Parameters
parameters
ContentTypeQueryParametersContent type query parameters.
websiteChannelName
stringName of the website channel.
pathMatches
PathMatch[]Web page tree paths for which the query should be limited.
includeUrlPath
boolIndicates if the URL path should be included in the retrieved data.