ObjectType property

The ObjectType property sets or gets the SetupNode object type, such as a batch, document, page, field, or character.

Use one of these number values to determine the SetupNode object type:
Object type
0 = Batch.
1 = Document.
2 = Page.
3 = Field.
4 = Character.

Syntax

VBScript
oSNO.ObjectType as Long
C#
int ObjectType { set; get; }

Type

Read and write.

VBScript example

This example gets a SetupNode object for the Total field and sends the type (3 = Field) to a script debugger:

Dim objTotal
Set objTotal = oSO.GetNodeByName(3, "Total")
Debug.write objTotal.ObjectType