Click or drag to resize

IContentUnitsInstantiabilitySetContentUnitAllowedRepetition Method


Sets the allowed repetition times of the Content Unit in current context

Namespace: Ingeniux.CMS.Presentation
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void SetContentUnitAllowedRepetition(
	IContentUnit unit,
	int maxRepeat
)

Parameters

unit  IContentUnit
Content Unit to set repetitions on, must be Reusabled
maxRepeat  Int32
Max number this Content Unit can be instantiated in current context
See Also