FileDialog.OnFileOk Method (CancelEventArgs)


Raises the FileOk event.

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected void OnFileOk(
	CancelEventArgs e


Type: System.ComponentModel.CancelEventArgs

A CancelEventArgs that contains the event data.

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.

.NET Framework
Available since 3.0
Return to top