共用方式為


CommonDialog.CheckPermissionsToShowDialog 方法

定義

判斷是否有足夠的權限可以顯示對話方塊。

protected:
 virtual void CheckPermissionsToShowDialog();
protected virtual void CheckPermissionsToShowDialog ();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected virtual void CheckPermissionsToShowDialog ();
abstract member CheckPermissionsToShowDialog : unit -> unit
override this.CheckPermissionsToShowDialog : unit -> unit
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
abstract member CheckPermissionsToShowDialog : unit -> unit
override this.CheckPermissionsToShowDialog : unit -> unit
Protected Overridable Sub CheckPermissionsToShowDialog ()
屬性

例外狀況

如果沒有足夠的權限可以顯示對話方塊。

適用於