Nevron Open Vision Documentation
NElement Class

A document node, which serves as base class for all elements, which reside in the elements hierarchy of a DOM document.
Object Model
NElement Class
Public MustInherit Class NElement 
   Inherits NDocumentNode
   Implements INDomDeepEquals, INDomDeeplyCloneable, Nevron.Nov.INDeeplyCloneable 
Dim instance As NElement
Elements are part of the elements hierarchy, which is typically rooted by a document and are used to define the primary document content.

Each element can be identified in the scope of its document via its Id, which is automatically assigned to the element when it is registered in the document, and is automatically set to -1 when the element is unregistered from the document. The element registration/unregistration is mandatory and is performed for each element, regardless of the level at which it is inserted or removed from its parent element.

If the element Id is equal to -1, then the element is not registered in any document. A valid Id however can be assigned to any element that does not yet reside in a document, via the AssignId method, that takes a single argument - the document in which the element is intended to be registered. In this way an element can gain an Id before it is registered in the document. A reference to an element that is registered in a document, can always be obtained by the NDocument.GetElementById method. Once registered in the document, the element Id is sealed and cannot be modified.

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


NElement Members
Nevron.Nov.Dom Namespace



©2017. Nevron Software LLC.

Send Feedback