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 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.3.169
Syntax
IEnumerable<KeyValuePair<IContentUnit, int>> ContentUnitRepetitionSetting(
	IUserSession session
)

Parameters

session
Type: Ingeniux.CMSIUserSession
The Session to retrieve content units

Return Value

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