Click or drag to resize

AbsoluteDocumentPathGetObject(AbsoluteDocumentPath, IDocumentLeafNode, IDocumentNode) Method

Resolves the path by first using startnode as starting point. If that failed, try using documentRoot as starting point.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IDocumentLeafNode? GetObject(
	AbsoluteDocumentPath path,
	IDocumentLeafNode startnode,
	IDocumentNode documentRoot
)

Parameters

path  AbsoluteDocumentPath
The path to resolve.
startnode  IDocumentLeafNode
The node object which is considered as the starting point of the path.
documentRoot  IDocumentNode
An alternative node which is used as starting point of the path if the first try failed.

Return Value

IDocumentLeafNode
The resolved object. If the resolving process failed, the return value is null.
See Also