TemplateGroupCollection.Add(TemplateGroup) Método
Definição
Adiciona o objeto TemplateGroup especificado ao final da coleção.Adds the specified TemplateGroup object to the end of the collection.
public:
int Add(System::Web::UI::Design::TemplateGroup ^ group);
public int Add (System.Web.UI.Design.TemplateGroup group);
member this.Add : System.Web.UI.Design.TemplateGroup -> int
Public Function Add (group As TemplateGroup) As Integer
Parâmetros
- group
- TemplateGroup
O TemplateGroup a adicionar à coleção.The TemplateGroup to add to the collection.
Retornos
O índice no qual o TemplateGroup foi adicionado à coleção.The index at which the TemplateGroup was added to the collection.
Comentários
O Add método adiciona o TemplateGroup objeto especificado ao final da coleção.The Add method adds the specified TemplateGroup object to the end of the collection. Para adicionar um TemplateGroup objeto à coleção em um local de índice específico, use o Insert método.To add a TemplateGroup object to the collection at a specific index location, use the Insert method.
Para adicionar vários grupos à coleção, use o AddRange método.To add multiple groups to the collection, use the AddRange method.
Aplica-se a
Confira também
- Insert(Int32, TemplateGroup)
- Visão geral dos designers de controle de ASP.NETASP.NET Control Designers Overview
- Estendendo o suporte para tempo de designExtending Design-Time Support
- Como estender a aparência e o comportamento dos controles no modo de designHow to: Extend the Appearance and Behavior of Controls in Design Mode