The ObjectLevel attribute returns the object's object level starting from the start object. The start object has object level 0, all child objects of the start object have 1, their children have object level 2, and so on.
Syntax | |
ObjectLevel | |
Return value | |
Type |
Description |
Long |
The level of the object |
Remark | |
The attribute is read-only. If the variable is NoValue, error 91 is raised. |