DesignerCollection.Count Property

 

Gets the number of designers in the collection.

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

public int Count { get; }

Property Value

Type: System.Int32

The number of designers in the collection.

The following code example gets the number of elements in the collection.

// Get the number of elements in the collection.
int count = collection.Count;

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

.NET Framework
Available since 1.1
Return to top
Show: