Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
ID of the item to retrieve.
GetControlById Method (IUiControlContainer)
In This Topic
Returns the first control that has the specified ID. Searches the current child items
as well as all descendents.
Syntax
'Declaration
Function GetControlById( _ ByVal id As String _ ) As IUiControl
'Usage
Dim instance As IUiControlContainer Dim id As String Dim value As IUiControl value = instance.GetControlById(id)
IUiControl GetControlById( string id )
Parameters
- id
- ID of the item to retrieve.
Return Value
Returns the control if it exists as a descendent of the current control. If not, returns
null.
See Also