DesignerCollection.Count Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Koleksiyondaki tasarımcı sayısını alır.
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
Özellik Değeri
Koleksiyondaki tasarımcıların sayısı.
Uygulamalar
Örnekler
Aşağıdaki kod örneği koleksiyondaki öğelerin sayısını alır.
// 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