Table of Contents

Class RetrievePagesOfContentTypesQueryParameters

Namespace
Kentico.Content.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Parameters for retrieving web pages of specified content types with fluent API for configuring of the underlying query. IContentRetriever

public sealed class RetrievePagesOfContentTypesQueryParameters : RetrievePagesQueryParametersBase<RetrievePagesOfContentTypesQueryParameters>
Inheritance
object
RetrievePagesOfContentTypesQueryParameters
Inherited Members
Extension Methods

Methods

Linking(string, string, IEnumerable<int>)

Configure query to retrieve linked items which reference any of items in the referenceFieldName.

public RetrievePagesOfContentTypesQueryParameters Linking(string contentTypeName, string referenceFieldName, IEnumerable<int> items)

Parameters

contentTypeName string

The name of the content type in which to search for the linking references via referenceFieldName.

referenceFieldName string

Field name of the retrieved content item which includes the items.

items IEnumerable<int>

Identifiers of items which are linked from the retrieved items.

Returns

RetrievePagesOfContentTypesQueryParameters

Returns this RetrievePagesOfContentTypesQueryParameters instance to chain further configuration.

Remarks

Simultaneous call with LinkedFrom(string, string, IEnumerable<IContentItemIdentifier>) or LinkedFromSchemaField(string, IEnumerable<IContentItemIdentifier>) is not supported. Multiple calls of this method are not supported.