Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDocument Class / GetElementById Method
element id


In This Topic
    GetElementById Method
    In This Topic
    Gets the element with the specified id
    Syntax
    'Declaration
     
    
    Public Function GetElementById( _
       ByVal id As System.Long _
    ) As NElement
    'Usage
     
    
    Dim instance As NDocument
    Dim id As System.Long
    Dim value As NElement
     
    value = instance.GetElementById(id)
    public NElement GetElementById( 
       System.long id
    )

    Parameters

    id
    element id

    Return Value

    reference to the element if it was found, otherwise null
    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