'Declaration
Public Overridable Function GetDescendantFromId( _ ByVal id As System.Integer, _ ByVal depth As System.Integer _ ) As INElement
'Usage
Dim instance As NFrameDecorator Dim id As System.Integer Dim depth As System.Integer Dim value As INElement value = instance.GetDescendantFromId(id, depth)
Parameters
- id
- id of the element
- depth
- required depth, or -1 if the entire subtree must be explored
Return Value
reference to the element if it was found, otherwise null