ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / Join Class / FindFieldIgnoreQualification Method
The name of the field to be found.

In This Topic
    FindFieldIgnoreQualification Method
    In This Topic
    Gets the zero-based index of the first field in the joined table whose name matches fieldName. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int FindFieldIgnoreQualification( 
       string fieldName
    )
    Public Function FindFieldIgnoreQualification( _
       ByVal fieldName As String _
    ) As Integer

    Parameters

    fieldName
    The name of the field to be found.

    Return Value

    The zero-based index of the first field in the join whose name matches fieldName. -1 if not found.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Remarks
    This method does not take into consideration a field's qualification during lookup (e.g., a field's database and table name). In other words, if there are two fields with the same name but different qualifications, the index of the first occurrence is returned.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also