Directory: GetParent

GetParent

Returns the parent of the specified directory.



 Public Function GetParent(
	  ByRef Path As String ) As DirectoryInfo

Parameters

Path
[ByRef] String. The directory to retrieve the parent of.

Return Values

DirectoryInfo -  A DirectoryInfo object representing the parent directory.

Remarks

The path can be absolute or relative.

See Also

Project CorLib Overview

Class Directory Overview