OpenFileDialog Methods

The OpenFileDialog type exposes the following members.

  NameDescription
Protected method CheckPermissionsToShowDialog Determines whether sufficient permissions for displaying a dialog exist. (Inherited from CommonDialog.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HookProc Defines the common file dialog hook procedure that is overridden to add common functionality to a file dialog. (Inherited from FileDialog.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnFileOk Raises the FileOk event. (Inherited from FileDialog.)
Public method OpenFile Opens a read-only stream for the file that is selected by the user using OpenFileDialog.
Public method OpenFiles Creates an array that contains one read-only stream for each file selected by the user using OpenFileDialog.
Public method Reset Resets all OpenFileDialog properties to their default values. (Overrides FileDialog.Reset().)
Protected method RunDialog RunDialog is called to display a file dialog in a derived class, such as OpenFileDialog and SaveFileDialog. (Inherited from FileDialog.)
Public method ShowDialog() Displays a common dialog. (Inherited from CommonDialog.)
Public method ShowDialog(Window) Displays a common dialog. (Inherited from CommonDialog.)
Public method ToString Returns a string that represents a file dialog. (Inherited from FileDialog.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft