RuleObjectType

The RuleObjectType property sets or gets the type of an object.

Description

Important: VBScript only. Extended properties are not supported through the C# .NET Interop interface. Instead, use set_RuleObjectType or get_ RuleObjectType.
The object type is determined by a value 0-3.

0 = Batch

1 = Document

2 = Page

3 = Field

Syntax

VBScript
oSNO.RuleObjectType (Index as Long) as Long

Arguments

Index
The index of the rule, where 0 is the first rule under this SetupNode object.

Type

Read and write

Example

VBScript
Dim TypeSSN
TypeSSN = objPageTwo.RuleObjType(0)
msgbox TypeSSN