TemplateGroupCollection.Count Propriedade

Definição

Obtém o número de objetos TemplateGroup na coleção.Gets the number of TemplateGroup objects in the collection.

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

Valor da propriedade

Int32

O número de objetos TemplateGroup na coleção.The number of TemplateGroup objects in the collection.

Comentários

A Count propriedade geralmente é usada para determinar o índice de limite superior ao iterar por meio de objetos na coleção.The Count property generally is used to determine the upper boundary index when iterating through objects in the collection. Como os índices de coleção são baseados em zero, o primeiro elemento está no índice 0 e o último elemento está no índice Count-1 .Because the collection indexes are zero-based, the first element is at index 0 and the last element is at index Count-1.

Aplica-se a