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


In This Topic
    FindField(Int32,Int32,Int32,FieldType,FindOption) Method
    In This Topic
    Locates a field that matches the specified field length and field attributes, 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 fieldtype As FieldType, _
       ByVal findoption As FindOption _
    ) As HostField
    'Usage
     
    
    Dim instance As IUtsScreen
    Dim startRow As Integer
    Dim startColumn As Integer
    Dim fieldLength As Integer
    Dim fieldtype As FieldType
    Dim findoption As FindOption
    Dim value As HostField
     
    value = instance.FindField(startRow, startColumn, fieldLength, fieldtype, findoption)

    Parameters

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

    Return Value

    A host field that matches the specified field length and attributes, 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