ClassSystem.IO.Directory SyntaxDim result As DirectoryInfo = GetParent(path)
DescriptionThe GetParent method returns a DirectoryInfo object representing the parent directory of path. Usage at a Glance
Version DifferencesVisual Basic 2005 includes My.Computer.FileSystem.GetDirectoryInfo and My.Computer.FileSystem.GetParentPath methods that, when used together, provide one method of achieving similar functionality. See AlsoDirectory.GetDirectoryRoot Method |