Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.75 KB

File metadata and controls

29 lines (20 loc) · 1.75 KB

VFSPath.GetAbsoluteParentPath(int) Method

Gets the absolute path of the parent directory with depth depthFromRoot. The root directory has a depth of 0. The depth of a file is the depth of its parent directory plus one. The depth of a directory is the depth of its parent directory plus one.

public Atypical.VirtualFileSystem.Core.VFSDirectoryPath GetAbsoluteParentPath(int depthFromRoot);

Parameters

depthFromRoot System.Int32

The depth of the parent directory from the root directory.

Returns

VFSDirectoryPath
The absolute path of the parent directory with depth depthFromRoot.

Exceptions

System.ArgumentOutOfRangeException
Thrown when the depth is negative.