SBM ModScript Reference → Programming SBM ModScript → Object Types → TreeItem → TreeItem FindParent() Method
Retrieve the ancestor TreeItem object, given the ancestor's TS_ID.
Parameter | Type | Description |
---|---|---|
id |
int |
TS_ID of this item's ancestor TreeItem. |
Type | Description |
---|---|
TreeItem |
TreeItem object representing the ancestor. If the parent is not found, returns null. Use is_var_null() to check for null. |
SBM ModScript version: 11.3.
Searches the ancestors of this TreeItem for a matching item.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.