Freigeben über


DesignerCollection.Count-Eigenschaft

Ruft die Anzahl der Designer in der Auflistung ab.

Namespace: System.ComponentModel.Design
Assembly: System (in system.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As DesignerCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
property int Count {
    int get ();
}
/** @property */
public int get_Count ()
public function get Count () : int

Eigenschaftenwert

Die Anzahl der Designer in der Auflistung.

Beispiel

Im folgenden Codebeispiel wird die Anzahl der Elemente in der Auflistung abgerufen.

' Get the number of elements in the collection.
Dim count As Integer = collection.Count
// Get the number of elements in the collection.
int count = collection.Count;
// Get the number of elements in the collection.
int count = collection->Count;

.NET Framework-Sicherheit

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

DesignerCollection-Klasse
DesignerCollection-Member
System.ComponentModel.Design-Namespace