FileDialog.RunDialog(IntPtr) Metod

Definition

RunDialog(IntPtr) anropas för att visa en fildialogruta i en härledd klass, till exempel OpenFileDialog och SaveFileDialog.

protected:
 override bool RunDialog(IntPtr hwndOwner);
[System.Security.SecurityCritical]
protected override bool RunDialog(IntPtr hwndOwner);
[<System.Security.SecurityCritical>]
override this.RunDialog : nativeint -> bool
Protected Overrides Function RunDialog (hwndOwner As IntPtr) As Boolean

Parametrar

hwndOwner
IntPtr

nativeint

Hantera till fönstret som äger dialogrutan.

Returer

true om användaren klickar på OK-knappen i dialogrutan som visas (till exempel OpenFileDialog, SaveFileDialog); annars false.

Attribut

Kommentarer

Den dialogruta som visas tilldelas ett ägarfönster som anges av parametern hwndOwner .

Gäller för