TemplateGroupCollection.RemoveAt(Int32) Método
Definição
Remove o objeto TemplateGroup no índice especificado dentro da coleção.Removes the TemplateGroup object at the specified index within the collection.
public:
void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
Parâmetros
- index
- Int32
O índice baseado em zero dentro da coleção do TemplateGroup a ser removido.The zero-based index within the collection of the TemplateGroup to remove.
Exceções
index é menor que zero.index is less than zero.
- ou --or-
index é maior que a propriedade Count.index is greater than the Count property.
Comentários
Use o RemoveAt método para remover um grupo em um índice específico da coleção.Use the RemoveAt method to remove a group at a particular index from the collection. Para remover um grupo especificado da coleção, use o Remove método.To remove a specified group from the collection, use the Remove method. Para remover todos os grupos da coleção, use o Clear método.To remove all the groups from the collection, use the Clear method.
Observação
Quando você remove um item da coleção, os índices são alterados para itens subsequentes na coleção.When you remove an item from the collection, the indexes change for subsequent items in the collection.