Click or drag to resize

IContentUnitsInstantiabilityContentUnitAllowedRepetition Method


Checks how many times a Reusable Content Unit is allowed to be instantiated in current context

Namespace:  Ingeniux.CMS.Presentation
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
int ContentUnitAllowedRepetition(
	IContentUnit unit
)

Parameters

unit
Type: Ingeniux.CMS.PresentationIContentUnit
Content Unit to check

Return Value

Type: Int32
The max number of repetitions of the Content Unit. 0 means no limit.
See Also