PhoenixmlDb.Core
NodeId
A lightweight, strongly-typed identifier for a node within a document's XDM tree.
#NodeId
Namespace: PhoenixmlDb.Core
A lightweight, strongly-typed identifier for a node within a document's XDM tree.
NodeId is a readonly record struct wrapping an unsigned 64-bit integer, providing type safety so that node IDs cannot be mixed with DocumentId or ContainerId at compile time.
Node IDs are assigned internally when a document is parsed into its XDM tree. They are obtained from IXdmNode.Id and are used for node identity comparisons (the XPath is operator) and internal index lookups.
The NodeId.None value (0) serves as the null equivalent — it represents "no node" and is never assigned to a real node.
#Constructors
##ctor(UInt64)
A lightweight, strongly-typed identifier for a node within a document's XDM tree.
NodeId is a readonly record struct wrapping an unsigned 64-bit integer, providing type safety so that node IDs cannot be mixed with DocumentId or ContainerId at compile time.
Node IDs are assigned internally when a document is parsed into its XDM tree. They are obtained from IXdmNode.Id and are used for node identity comparisons (the XPath is operator) and internal index lookups.
The NodeId.None value (0) serves as the null equivalent — it represents "no node" and is never assigned to a real node.
See also: IXdmNode.Id
#Properties
| Name | Description |
|---|---|
None
|
The null/empty node ID. Never assigned to a real node. |