Share via


FileDialog MembersĀ 

Provides file dialog box functionality similar to the functionality of the standard Open and Save dialog boxes found in Microsoft Office applications.

The following tables list the members exposed by the FileDialog type.

Public Properties

  Name Description
AllowMultiSelect Determines if the user is allowed to select multiple files from a file dialog box.
Application Returns an Application object that represents the container application for the object.
ButtonName Returns or sets a String representing the text that is displayed on the action button of a file dialog box.
Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
DialogType Returns an MsoFileDialogType constant representing the type of file dialog box that the FileDialog object is set to display.
FilterIndex Returns or sets an Integer indicating the default file filter of a file dialog box.
Filters Returns a FileDialogFilters collection.
InitialFileName Returns or sets a String representing the path and/or file name that is initially displayed in a file dialog box.
InitialView Returns or sets a MsoFileDialogView constant representing the initial presentation of files and folders in a file dialog box.
Item Returns the text associated with an object.
Parent Returns the Parent object for the specified object.
SelectedItems Returns a FileDialogSelectedItems collection.
Title Returns or sets the title of a file dialog box displayed using the FileDialog object.

Top

Public Methods

  Name Description
Execute Runs the procedure or built-in command assigned to the specified command bar control.
Show Displays a file dialog box and returns an Integer indicating whether the user pressed the action button (-1) or the cancel button (0).

Top

See Also

Reference

FileDialog Interface
Microsoft.Office.Core Namespace