Nevron Open Vision Documentation
Nevron.Nov.Data Namespace / NDataSource Class / TryGetMax Method / TryGetMax(String,Object) Method


In This Topic
    TryGetMax(String,Object) Method
    In This Topic
    Tries to get the maximum value for the specified field. Returns false if the data table has no records, or the field type is not comparable.
    Syntax
    'Declaration
     
    
    Public Overloads Function TryGetMax( _
       ByVal fieldName As System.String, _
       ByRef value As System.Object _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDataSource
    Dim fieldName As System.String
    Dim value As System.Object
    Dim value As System.Boolean
     
    value = instance.TryGetMax(fieldName, value)
    public System.bool TryGetMax( 
       System.string fieldName,
       out System.object value
    )

    Parameters

    fieldName
    value
    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