InfoConnect for Unisys
FindField(Int32,Int32,Int32,FindOption) Method


Start row position.
Start column position.
Length of the field.
The direction of the search.
Locates a field that matches the specified field length, starting from the specified row and column.
Syntax
'Declaration
 
Overloads Function FindField( _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal fieldLength As Integer, _
   ByVal findoption As FindOption _
) As HostField
'Usage
 
Dim instance As IUtsScreen
Dim startRow As Integer
Dim startColumn As Integer
Dim fieldLength As Integer
Dim findoption As FindOption
Dim value As HostField
 
value = instance.FindField(startRow, startColumn, fieldLength, findoption)

Parameters

startRow
Start row position.
startColumn
Start column position.
fieldLength
Length of the field.
findoption
The direction of the search.

Return Value

A host field that matches the specified field length, or null if it is not found.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the startRow or startColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
See Also