.NET Framework Class Library for Silverlight
OpenFileDialog..::.SelectedFile Property
Gets a FileDialogFileInfo object for the selected file. If multiple files are selected, returns the first selected file.
Namespace:
System.Windows.Controls Assembly:
System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public ReadOnly Property SelectedFile As FileDialogFileInfo
Dim instance As OpenFileDialog
Dim value As FileDialogFileInfo
value = instance.SelectedFile
public FileDialogFileInfo SelectedFile { get; }
public:
property FileDialogFileInfo^ SelectedFile {
FileDialogFileInfo^ get ();
}
public function get SelectedFile () : FileDialogFileInfo
Reference
Other Resources