Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods > GetChild MethodSyntaxGetChild returns a specified child property set of a property set. ReturnsThe property set at index index of the parent property set UsageWhen child property sets are created, each is given an index number within the parent property set, starting at 0. Property sets added using AddChild get the next available index number. However, a property set added using InsertChildAt inserts a new property set at a specified index. The property set previously at that index, and every property set after it, have their indexes increased by 1. Similarly, a property set removed using RemoveChild decreases the indexes of following child property sets by 1. NOTE: This method returns the number of direct descendants only. That is, if the child property sets have children of their own, these grandchildren are not included in the computation of the return value. Used WithBrowser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script, Web Client Automation Server ExampleThis Siebel eScript example sets the Name property of child property sets to the same value. function Test1_Click () Account.AddChild(Opportunity); for (var i = 0; i < Account.GetChildCount(); i++) See Also |
Siebel Object Interfaces Reference |