PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Element­Collection(T) Class/Element­Collection(T) Properties/Element­Collection(T).​Count Property

ElementCollection<T>.Count Property

Gets the number of elements contained in the ICollection<T>.

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public int Count { get; }

Return Value

Type: Int32
The number of elements contained in the ICollection<T>.

Implements

ICollection<T>.Count
ICollection.Count
See Also