Home Cooker Classes Others Rice CookerGX
Classes  >  file  >  Directory
file class : Directory getter

Description

Gets a directory instance that is the parent of the file.

Syntax

fileInstance.Directory

Arguments

None

Return value

ClassDescription
directoryParent directory of the file.

Sample code

//anyFile is a instance of file type.

directory parentDirectory = anyFile.Directory;

Notes

It's a wrapper of the System.IO.FileInfo.Directory.

Links for reference

Copyright © Rice All rights reserved.