Click or drag to resize

RelativeDocumentPathGetNodeOrLeastResolveableNode Method

Gets the node that is designated by the provided path or the least resolveable node.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IDocumentLeafNode GetNodeOrLeastResolveableNode(
	RelativeDocumentPath path,
	IDocumentLeafNode startnode,
	out bool pathWasCompletelyResolved
)

Parameters

path  RelativeDocumentPath
The document path to resolve.
startnode  IDocumentLeafNode
The startnode.
pathWasCompletelyResolved  Boolean
If set to true on return, the path was completely resolved. Otherwise, false.

Return Value

IDocumentLeafNode
The resolved node, or the least node on the path that could be resolved.
Exceptions
ExceptionCondition
ArgumentNullException path or startnode
See Also