Class RetrieveContentQueryParameters
Parameters for retrieving content items of specified content type with fluent API for configuring of the underlying query. IContentRetriever
public sealed class RetrieveContentQueryParameters : RetrieveContentQueryParametersBase<RetrieveContentQueryParameters>
- Inheritance
-
objectRetrieveContentQueryParameters
- Inherited Members
- Extension Methods
Methods
Linking(string, IEnumerable<int>)
Configure query to retrieve linked items which reference any of items
in the referenceFieldName
.
public RetrieveContentQueryParameters Linking(string referenceFieldName, IEnumerable<int> items)
Parameters
referenceFieldName
stringField name of the retrieved content item which includes the
items
.items
IEnumerable<int>Identifiers of items which are linked from the retrieved items.
Returns
- RetrieveContentQueryParameters
Returns this RetrieveContentQueryParameters instance to chain further configuration.
Remarks
Can be used together with WithLinkedItems(Action<LinkedItemsOptions>) to retrieve further links. Simultaneous call with LinkedFrom(string, string, IEnumerable<IContentItemIdentifier>) is not supported.