DesignerCollection.Count Właściwość

Definicja

Pobiera liczbę projektantów w kolekcji.

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

Wartość właściwości

Liczba projektantów w kolekcji.

Implementuje

Przykłady

Poniższy przykład kodu pobiera liczbę elementów w kolekcji.

// Get the number of elements in the collection.
int count = collection->Count;
// Get the number of elements in the collection.
int count = collection.Count;
' Get the number of elements in the collection.
Dim count As Integer = collection.Count

Dotyczy