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

适用于

另请参阅