Copyright Accelerated Ideas 2007 Legacy Blog Posts | Blog Home | .NET Components

AIDirectoryViewer – How to get the full selected folder path


1/2/2007

We have provided two methods which developers can use to access the selected folder details:

GetSelectedFolder - DirectoryInfo


Gets the selected folder node as a DirectoryInfo object.

GetSelectedFolderPath - String


Gets the full directory path of the currently selected folder node

Should you require the full path string you can just use the GetSelectedFolderPath. Else if you require in depth information in the form of a DirectoryInfo object you can call the GetSelectedFolder method which returns a DirectoryInfo object representing the selected folder in the Directory View.


< Blog Home