set_RuleMaxNumber

The set_RuleMaxNumber method sets the maximum number of child objects of the specified type that can be associated with the parent object without violating a document integrity rule.

Description

Important: .NET only. For VBScript, use the RuleMaxNum property instead.
For more information, see get_RuleMaxNumber.

Syntax

C#
void set_RuleMaxNumber(int nIndex, int pVal)

Arguments

nIndex
The index of the rule, where 0 is the first rule under this SetupNode object.
pVal
The maximum number of child objects.