set_RuleObjectType

The set_RuleObjectType method sets the type of an object.

Description

Important: .NET only. For VBScript, use the RuleObjectType property instead.

For more information, see get_RuleObjectType.

Syntax

C#
void set_RuleObjectType(int nIndex, int pVal)

Arguments

nIndex
The index of the rule, where 0 is the first rule under this SetupNode object.
pVal
The object type:

0 = Batch

1 = Document

2 = Page

3 = Field