OpenFileDialog Methods

The OpenFileDialog type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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().)
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
Show:
© 2014 Microsoft