Share via


FileDialog.AllowMultiSelect Property

Determines if the user is allowed to select multiple files from a file dialog box.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property AllowMultiSelect As Boolean
    Get
    Set
'Usage
Dim instance As FileDialog
Dim value As Boolean

value = instance.AllowMultiSelect

instance.AllowMultiSelect = value
bool AllowMultiSelect { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the user is allowed to select multiple files from a file dialog box; False if they are not allowed.

This property has no effect on Folder Picker dialog boxes or SaveAs dialog boxes, because users should never be able to select multiple files in these types of file dialog boxes.

See Also

Reference

FileDialog Interface

FileDialog Members

Microsoft.Office.Core Namespace