DesignerCollection.Count Eigenschaft

Definition

Ruft die Anzahl der Designer in der Auflistung ab.

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

Eigenschaftswert

Die Anzahl der Designer in der Sammlung.

Implementiert

Beispiele

Das folgende Codebeispiel ruft die Anzahl der Elemente in der Auflistung ab.

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

Gilt für: