GetDescendantFromUniqueId Method (NDocument)
'Declaration
Public Overridable Function GetDescendantFromUniqueId( _
ByVal As System.Guid, _
ByVal As System.Integer _
) As INElement
'Usage
Dim instance As NDocument
Dim uid As System.Guid
Dim depth As System.Integer
Dim value As INElement
value = instance.GetDescendantFromUniqueId(uid, depth)
public virtual INElement GetDescendantFromUniqueId(
System.Guid ,
System.int
)
Parameters
- uid
- unique id of the node
- depth
- required depth, or -1 if the entire subtree must be explored
Return Value
reference to the element if it was found, otherwise null
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