FileDialog.Show Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays a file dialog box and returns an Integer indicating whether the user pressed the action button (-1) or the cancel button (0).
public:
int Show();
public int Show ();
abstract member Show : unit -> int
Public Function Show () As Integer
Returns
Remarks
When you call the Show method, no more code will execute until the user dismisses the file dialog box. In the case of Open and SaveAs dialog boxes, use the Execute() method right after the Show method to carry out the user's action.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for