Click or drag to resize

RelativeDocumentPath Class

DocumentPath holds a path to a document. This path reflects the internal organization of the class instances in Altaxo. Do not mix this concept with the concept of the folder in which a project item virtually exists (see ProjectFolder).
Inheritance Hierarchy
SystemObject
  Altaxo.MainRelativeDocumentPath

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
[SerializableAttribute]
public sealed class RelativeDocumentPath : ICloneable, 
	IImmutable

The RelativeDocumentPath type exposes the following members.

Constructors
 NameDescription
Public methodRelativeDocumentPath(RelativeDocumentPath) Initializes a new instance of the RelativeDocumentPath class by copying another instance.
Public methodRelativeDocumentPath(Int32, IEnumerableString) Initializes a new instance of the RelativeDocumentPath class.
Top
Properties
 NameDescription
Public propertyCount Gets the number of stored path parts.
Public propertyIsIdentity Gets a value indicating whether this path represents the identity path.
Public propertyItem Gets the path part at the specified index.
Public propertyNumberOfStepsDown Gets the number of upward steps.
Top
Methods
 NameDescription
Public methodClone Creates a copy of this relative document path.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Public methodStatic memberFromOldDeprecated Converts an older absolute-path representation into a relative document path.
Public methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodStatic memberGetNodeOrLeastResolveableNode Gets the node that is designated by the provided path or the least resolveable node.
Public methodStatic memberGetObject Resolves the specified relative path starting from the given node.
Public methodStatic memberGetRelativePathFromTo(IDocumentLeafNode, IDocumentLeafNode) Retrieves the relative path from the node startnode to the node endnode.
Public methodStatic memberGetRelativePathFromTo(IDocumentLeafNode, IDocumentLeafNode, IDocumentNode) Retrieves the relative path from the node startnode to the node endnode.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldStatic memberIdentityPath The path that designates identity, i.e. the start node is identical to the destination node.
Top
See Also