Class RetrieveContentOfContentTypesQueryParameters
Parameters for retrieving content items of multiple types with fluent API for configuring of the underlying query. IContentRetriever
public sealed class RetrieveContentOfContentTypesQueryParameters : RetrieveContentQueryParametersBase<RetrieveContentOfContentTypesQueryParameters>
- Inheritance
-
objectRetrieveContentOfContentTypesQueryParameters
- Inherited Members
-
RetrieveContentQueryParametersBase<RetrieveContentOfContentTypesQueryParameters>.IncludeTotalCount()
- Extension Methods
Methods
Linking(string, string, IEnumerable<int>)
Configure query to retrieve linked items which reference any of items
in the referenceFieldName
.
public RetrieveContentOfContentTypesQueryParameters Linking(string contentTypeName, string referenceFieldName, IEnumerable<int> items)
Parameters
contentTypeName
stringThe name of the content type in which to search for the linking references via
referenceFieldName
.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
- RetrieveContentOfContentTypesQueryParameters
Returns this RetrieveContentOfContentTypesQueryParameters 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.