DesignerRegionCollection.Count Property

Definition

Gets the number of DesignerRegion objects in the collection.

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

Property Value

The number of DesignerRegion objects in the collection.

Remarks

The Count property is commonly used to determine the upper boundary index when iterating through objects in the collection. Because the collection indexes are zero-based, the first element is at index 0 and the last element is at index Count-1.

Applies to

See also