InfoConnect for Airlines
GetControlsByName Method (MyReflection)
Example 


The name of the control. To get all unnamed controls, use an empty string.
Gets the controls that match the specified control name in all instances of InfoConnect.
Syntax
'Declaration
 
Public Shared Function GetControlsByName( _
   ByVal name As String _
) As Object()
'Usage
 
Dim name As String
Dim value() As Object
 
value = MyReflection.GetControlsByName(name)
public static object[] GetControlsByName( 
   string name
)

Parameters

name
The name of the control. To get all unnamed controls, use an empty string.

Return Value

An array of controls that match the specified control name. If an empty string is passed as the name, an array of unnamed controls is returned.
Example
This sample shows how to get all of the unnamed controls in an instance of InfoConnect and then find specific controls.

	
See Also