DesignerCollection.Count Egenskap

Definition

Hämtar antalet designers i samlingen.

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

Egenskapsvärde

Antalet designers i samlingen.

Implementeringar

Exempel

I följande kodexempel hämtas antalet element i samlingen.

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

Gäller för