Click or drag to resize

IContentUnitsInstantiabilityContentUnitRepetitionSetting Method


Retrieves the collection of repeatable Content Units and how many times they can be instantiated in current context. There is no directly relation to the AllowedContentUnits property. When AllowedContentUnits has no entries, which means all Content Units are allowed, we can still specify how many times they can repeat.

Namespace: Ingeniux.CMS.Presentation
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IEnumerable<KeyValuePair<IContentUnit, int>> ContentUnitRepetitionSetting(
	IUserSession session
)

Parameters

session  IUserSession
The Session to retrieve content units

Return Value

IEnumerableKeyValuePairIContentUnit, Int32
Reusable Content Units and its instantiatiosn limit
See Also