Nevron Open Vision Documentation
Nevron.Nov.Grid Namespace / NRelationCollection Class / GetFieldIndices Method


In This Topic
    GetFieldIndices Method
    In This Topic
    Gets the field indices for the specified source and target data sources. Throws an exception if any of the relations fields is not present in the respective data source.
    Syntax
    'Declaration
     
    
    Public Function GetFieldIndices( _
       ByVal sourceDataSource As NDataSource, _
       ByVal targetDataSource As NDataSource, _
       ByRef sourceIndices() As System.Integer, _
       ByRef targetIndices() As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NRelationCollection
    Dim sourceDataSource As NDataSource
    Dim targetDataSource As NDataSource
    Dim sourceIndices() As System.Integer
    Dim targetIndices() As System.Integer
    Dim value As System.Integer
     
    value = instance.GetFieldIndices(sourceDataSource, targetDataSource, sourceIndices, targetIndices)
    public System.int GetFieldIndices( 
       NDataSource sourceDataSource,
       NDataSource targetDataSource,
       out System.int[] sourceIndices,
       out System.int[] targetIndices
    )

    Parameters

    sourceDataSource
    targetDataSource
    sourceIndices
    targetIndices
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also