DesignerCollection.Count Eigenschap

Definitie

Hiermee haalt u het aantal ontwerpers in de collectie op.

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

Waarde van eigenschap

Het aantal ontwerpers in de collectie.

Implementeringen

Voorbeelden

In het volgende codevoorbeeld wordt het aantal elementen in de verzameling opgeslagen.

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

Van toepassing op