InfoConnect for Airlines
GetControlsByFilePath Method
Example 


The fully qualified file path of the session document file.
Gets a collection of controls by specifying the session file path.
Syntax
'Declaration
 
Public Function GetControlsByFilePath( _
   ByVal filePath As String _
) As Object()
'Usage
 
Dim instance As Application
Dim filePath As String
Dim value() As Object
 
value = instance.GetControlsByFilePath(filePath)
public object[] GetControlsByFilePath( 
   string filePath
)

Parameters

filePath
The fully qualified file path of the session document file.

Return Value

Array of controls that match the file path.
Exceptions
ExceptionDescription
APINotInitializedExceptionAPI Service has not been initialized.
Remarks
The method returns a collection of controls that have session file paths that match filePath. The session file path might not be unique among all running sessions.
Example
This sample shows how to get controls by the file path name

	
See Also