InfoConnect API Guide
Attachmate.Reflection.UserInterface Namespace / IUiControlContainer Interface / GetChildControlById Method
ID of the item to retrieve.


In This Topic
GetChildControlById Method (IUiControlContainer)
In This Topic
Returns the child control that has the specified ID.
Syntax
'Declaration
 
Function GetChildControlById( _
   ByVal id As String _
) As IUiControl
 
'Usage
 
Dim instance As IUiControlContainer
Dim id As String
Dim value As IUiControl
 
value = instance.GetChildControlById(id)

Parameters

id
ID of the item to retrieve.

Return Value

Returns the control if it exists in the child collection. Returns null if the control is not in the child collection.
See Also