TreeNodeStyleCollection.RemoveAt(Int32) Método

Definição

Remove o objeto TreeNodeStyle no local do índice especificado do objeto TreeNodeStyleCollection.Removes the TreeNodeStyle object at the specified index location from the TreeNodeStyleCollection object.

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 local do índice de base zero do TreeNodeStyle a remover.The zero-based index location of the TreeNodeStyle to remove.

Comentários

Use o RemoveAt método para remover o TreeNodeStyle objeto no local de índice baseado em zero especificado de um TreeNodeStyleCollection objeto.Use the RemoveAt method to remove the TreeNodeStyle object at the specified zero-based index location from a TreeNodeStyleCollection object. Todos os itens que estão localizados depois do nó removido são movidos um nível para cima para preencher a posição vaga na estrutura de árvore.All the items that are located after the removed node are then moved up one level to fill the vacant position in the tree structure. Os índices dos itens movidos também são atualizados.The indexes of the moved items are also updated.

Como alternativa, você pode remover um objeto específico TreeNodeStyle usando o Remove método.As an alternative, you can remove a specific TreeNodeStyle object by using the Remove method. Você também pode remover todos os nós na coleção usando o Clear método.You can also remove every node in the collection by using the Clear method.

Aplica-se a

Confira também