get_Directory()

FileInfo::get_Directory() method

Returns a DirectoryInfo object that represents a directory in which the file represented by the current object is located.

DirectoryInfoPtr System::IO::FileInfo::get_Directory()

See Also