Home Cooker Classes Others Rice CookerGX
Classes  >  directory  >  Parent
directory class : Parent getter

Description

Gets the parent directory.

Syntax

directoryInstance.Parent

Arguments

None

Return value

ClassDescription
directoryThe parent directory of the invoker.

Sample code

//anyDirectory is a instance of directory type.

directory parentDirectory = anyDirectory.Parent;

Notes

It's a wrapper of the System.IO.DirectoryInfo.Parent.

If there is no parent, return uninitialized directory type instance.

Links for reference

Copyright © Rice All rights reserved.