DesignerOptionService.PopulateOptionCollection 方法

定义

protected:
 virtual void PopulateOptionCollection(System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ options);
protected virtual void PopulateOptionCollection (System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection options);
abstract member PopulateOptionCollection : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection -> unit
override this.PopulateOptionCollection : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection -> unit
Protected Overridable Sub PopulateOptionCollection (options As DesignerOptionService.DesignerOptionCollection)

参数

options
DesignerOptionService.DesignerOptionCollection

要填充的集合。

注解

PopulateOptionCollection当用户首次请求选项集合的子选项或属性时,按需调用 方法。

可以通过调用 CreateOptionCollection 方法并将此集合作为父级传递来填充options集合。

适用于

另请参阅