System.ComponentModel.AttributeCollection.Count Property

Gets the number of attributes.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use the AttributeCollection.Count property to set the limits of a loop that iterates through a collection of objects. If the collection is zero-based, be sure to use Count - 1 as the upper boundary of the loop.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0