Reflection
FindField(Int32,Int32,Int32,FieldType,FindOption) Method


Start row position.
Start column position.
Leng of the field.
Type of the field.
The direction of the search.
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 IIbmScreen
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
Leng 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
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