InfoConnect for Unisys
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen Interface / FindField Method / FindField(Int32,Int32,Int32,FindOption) Method
Start row position.
Start column position.
Length of the field.
The direction of the search.


In This Topic
    FindField(Int32,Int32,Int32,FindOption) Method
    In This Topic
    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
    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