FileDialog Members

Include Protected Members
Include Inherited Members

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

The FileDialog type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Execute Runs the procedure or built-in command assigned to the specified command bar control.
Public method 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