GetControlById Method (UiControlContainer)
Returns the first control that has the specified ID. Searches the current child items as well as all descendents.
expression.GetControlById( _
ByVal As String _
) As UiControl object
where
expression is a variable that represents a
UiControlContainer Object
Parameters
- id
- ID of the item to retrieve.
Return Value
Returns the
UiControl control if it exists as a descendent of the current control. If not, returns null.