FileDialog.OnFileOk(CancelEventArgs) 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.
Raises the FileOk event.
protected:
void OnFileOk(System::ComponentModel::CancelEventArgs ^ e);
protected void OnFileOk (System.ComponentModel.CancelEventArgs e);
member this.OnFileOk : System.ComponentModel.CancelEventArgs -> unit
Protected Sub OnFileOk (e As CancelEventArgs)
Parameters
A CancelEventArgs that contains the event data.
Remarks
OnFileOk raises the FileOk event.
A type that derives from FileDialog may override OnFileOk. The overridden method must call OnFileOk on the base class if FileOk needs to be raised.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.