StyleCollection.RemoveAt(Int32) Método
Definição
Remove o objeto Style no local do índice especificado do objeto StyleCollection.Removes the Style object at the specified index location from the StyleCollection 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 baseado em zero do objeto Style a ser removido.The zero-based index location of the Style object to remove.
Comentários
Use o RemoveAt método para remover o Style objeto em um local de índice especificado do StyleCollection objeto.Use the RemoveAt method to remove the Style object at a specified index location from the StyleCollection object. Todos os itens que seguem esse Style objeto são movidos para cima para preencher a posição vaga.All items that follow that Style object are then moved up to fill in the vacant position. Os índices dos itens movidos também são atualizados.The indexes of the moved items are also updated.
Para remover um Style objeto específico do StyleCollection objeto, use o Remove método.To remove a specific Style object from the StyleCollection object, use the Remove method. Você também pode remover todos os Style objetos na coleção usando o Clear método.You can also remove every Style object in the collection using the Clear method.