Gets the file names of all selected files in the dialog box.
[Visual Basic] Public ReadOnly Property FileNames As String () [C#] public string[] FileNames {get;} [C++] public: __property String* get_FileNames(); [JScript] public function get FileNames() : String[];
An array of values containing the file names of all selected files in the dialog box.
Each file name includes both the file path and the extension. If no files are selected, this method returns an empty array.
FileDialog Class | FileDialog Members | System.WinForms Namespace | FileName