This property provides access to a list of all files including their
extension, which are currently selected in the ShellListView.
Dependent on the user settings, the file names in the ListView may be
displayed without extension, which makes it difficult to further
process them when they are accessed only by the SelectedItems
property. You can also use the SelectedFiles property to add files
to the selection by using SelectedFiles.Add method.
| C# | Visual Basic | Visual C++ |
public PathCollection SelectedFiles { get; }
Public ReadOnly Property SelectedFiles As PathCollection
public: property PathCollection^ SelectedFiles { PathCollection^ get (); }