DesignerCollection.Count Vlastnost

Definice

Získá počet návrhářů v kolekci.

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

Hodnota vlastnosti

Počet návrhářů v kolekci

Implementuje

Příklady

Následující příklad kódu získá počet prvků v kolekci.

// 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

Platí pro