Enum DirectoryType

DirectoryType enumeration

Represents the directory type of the file name.

public enum DirectoryType

Values

NameValueDescription
Volume0Represents an MS-DOS drive letter. It is followed by the drive letter. Or UNC file names, such as \server\share\myfile.xls
SameVolume1Indicates that the source workbook is on the same drive as the dependent workbook (the drive letter is omitted)
DownDirectory2Indicates that the source workbook is in a subdirectory of the current directory.
UpDirectory3Indicates that the source workbook is in the parent directory of the current directory.

See Also