DesignerOptionService.PopulateOptionCollection(DesignerOptionService+DesignerOptionCollection) Método
Definição
Popula uma DesignerOptionService.DesignerOptionCollection.Populates a DesignerOptionService.DesignerOptionCollection.
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)
Parâmetros
A coleção a ser populada.The collection to populate.
Comentários
O PopulateOptionCollection método é chamado sob demanda na primeira vez que um usuário solicita opções filho ou propriedades de uma coleção de opções.The PopulateOptionCollection method is called on demand the first time a user asks for child options or properties of an options collection.
Você pode preencher a options coleção chamando o CreateOptionCollection método e passando essa coleção como o pai.You can populate the options collection by calling the CreateOptionCollection method and passing this collection as the parent.