VisualCollection.Count VisualCollection.Count VisualCollection.Count VisualCollection.Count Property

Definición

Obtiene el número de elementos de la colección.Gets the number of elements in the collection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Valor de propiedad

Número de elementos que VisualCollection contiene.The number of elements that the VisualCollection contains.

Implementaciones

Comentarios

Count es el número de elementos que son en realidad el VisualCollection.Count is the number of elements that are actually in the VisualCollection. Capacity es el número de elementos que el VisualCollection es capaz de almacenar.Capacity is the number of elements that the VisualCollection is capable of storing.

Count siempre es menor o igual que Capacity.Count is always less than or equal to Capacity. Si Count supera Capacity al agregar elementos, se duplica la capacidad de la lista mediante la reasignación automática de la matriz interna antes de copiar los elementos antiguos y agregar los nuevos elementos.If Count exceeds Capacity while adding elements, the capacity of the list is doubled by automatically reallocating the internal array before copying the old elements and adding the new elements.

Se aplica a