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
)
Function ContentUnitRepetitionSetting (
session As IUserSession
) As IEnumerable(Of KeyValuePair(Of IContentUnit, Integer))
IEnumerable<KeyValuePair<IContentUnit^, int>>^ ContentUnitRepetitionSetting(
IUserSession^ session
)
abstract ContentUnitRepetitionSetting :
session : IUserSession -> IEnumerable<KeyValuePair<IContentUnit, int>>
Parameters
- session
- Type: Ingeniux.CMSIUserSession
The Session to retrieve content units
Return Value
Type:
IEnumerableKeyValuePairIContentUnit,
Int32Reusable
Content Units and its instantiatiosn limit
See Also