FileDialog.RunDialog(IntPtr) 메서드

정의

RunDialog(IntPtr)OpenFileDialogSaveFileDialog 등의 파생 클래스에서 파일 대화 상자를 표시하기 위해 호출됩니다.

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

매개 변수

hwndOwner
IntPtr

nativeint

대화 상자를 소유하는 창에 대한 핸들입니다.

반환

사용자가 OpenFileDialog, SaveFileDialog 등의 표시된 대화 상자에서 확인 단추를 클릭하면 true이고, 그렇지 않으면 false입니다.

특성

설명

결국 표시되는 대화 상자에는 매개 변수로 지정된 소유자 창이 hwndOwner 할당됩니다.

적용 대상