DesignerOptionService.ShowDialog 方法

定義

顯示指定物件的選項對話方塊。

protected:
 virtual bool ShowDialog(System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ options, System::Object ^ optionObject);
protected virtual bool ShowDialog (System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection options, object optionObject);
abstract member ShowDialog : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection * obj -> bool
override this.ShowDialog : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection * obj -> bool
Protected Overridable Function ShowDialog (options As DesignerOptionService.DesignerOptionCollection, optionObject As Object) As Boolean

參數

options
DesignerOptionService.DesignerOptionCollection

包含要叫用之物件的選項集合。

optionObject
Object

實際選項物件。

傳回

如果顯示核取方塊,則為 true,否則為 false

備註

ShowDialog必須實作 方法,optionObject才能顯示參數的選項對話框。

給繼承者的注意事項

預設實作不會執行任何動作,並傳 false回 。

適用於

另請參閱