Share via


OpenFileDialog.SelectedFiles Property

Gets a collection of FileDialogFileInfo objects for the selected files.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

public IEnumerable<FileDialogFileInfo> SelectedFiles { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<FileDialogFileInfo>

A collection of FileDialogFileInfo objects for the selected files.

See Also

Reference

OpenFileDialog Class

OpenFileDialog Members

System.Windows.Controls Namespace

Other Resources

How to: Use the Open File Dialog Box