Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NElement Class / Id Property


In This Topic
    Id Property (NElement)
    In This Topic
    Gets the id of the element, which uniquely identifies the element inside the owner document. It is automatically assigned when the element is registered in a document and is also automatically set to -1 when the element is unregistered from the document. You can manually assign the next document Id to the element, before it is added to a specific document, by using AssingNextId method.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Id As System.Long
    'Usage
     
    
    Dim instance As NElement
    Dim value As System.Long
     
    value = instance.Id
    public System.long Id {get;}
    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