.NET Framework Class Library
OpenFileDialog..::.Multiselect Property

Gets or sets an option indicating whether OpenFileDialog allows users to select multiple files.

Namespace:  Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax

Visual Basic (Declaration)
Public Property Multiselect As Boolean
Visual Basic (Usage)
Dim instance As OpenFileDialog
Dim value As Boolean

value = instance.Multiselect

instance.Multiselect = value
C#
public bool Multiselect { get; set; }
Visual C++
public:
property bool Multiselect {
    bool get ();
    void set (bool value);
}
JScript
public function get Multiselect () : boolean
public function set Multiselect (value : boolean)
XAML Attribute Usage
<object Multiselect="bool" .../>

Property Value

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

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker