Partager via


OpenFileDialog.Multiselect Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that indicates whether the OpenFileDialog allows users to select multiple files.

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

Syntax

'Declaration
Public Property Multiselect As Boolean
public bool Multiselect { get; set; }

Property Value

Type: System.Boolean
true if multiple selections are allowed; otherwise, false. The default is false.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.