Description

A string Path to this McDBNode from the McDBDatabase.RootNode.

Property type

A String value.  

Syntax

object.Path([IncludeDatabase], [ShowIds])

The Path Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBNode.
IncludeDatabaseOptional. A Boolean value.

Whether the Path string should be prefixed with the McDBDatabase.Name this McDBNode exists in. A Path including a McDBDatabase.Name are Global specifiers (i.e. they contain enough information to retrieve the node again without any additional context information). Paths of this form are prefixed by a double forward slash: //<Database Name><Path>.

ShowIdsOptional. A Boolean value.

Whether the McDBNode(s) contained in the Path will be returned using their Name (False/default) or Id (True).

Remarks

The Path is a string value of the hierarchal path [traversed] to this McDBNode from the McDBDatabase.RootNode. If this McDBNode was not instanced by traversing through Parent McDBNode instance(s) (e.g. it was instanced from McDBDatabase.RetrieveNode), this Property will reconstruct the Path backwards to the McDBDatabase.RootNode via the primary Parent McDBNode(s). A string containing as much of the path as can be determined will be returned if the path to McDBDatabase.RootNode cannot be followed (e.g. because of security restrictions). Incomplete Paths in this category will be preceded by three question marks and a backslash (i.e. ???\<determinable path>). An empty string is returned if a framework error occurs.

Notes

All paths are returned in a filesystem-like string: each level preceded with a backslash (\), including the root level, which returns a Path of \. This property is an empty string for McDBNode instances that are not hierarchy nodes (i.e. IsContainer is False).