.NET Framework Class Library
ICollectionTCount Property

Gets the number of elements contained in the ICollectionT.

Namespace:   System.Collections.Generic
Assembly:  mscorlib (in mscorlib.dll)
Syntax
ReadOnly Property Count As [%$TOPIC/5s3kzhec_en-us_VS_110_2_0_0_0_0%]
[%$TOPIC/5s3kzhec_en-us_VS_110_2_0_1_0_0%] Count { get; }
property [%$TOPIC/5s3kzhec_en-us_VS_110_2_0_2_0_0%] Count {
	[%$TOPIC/5s3kzhec_en-us_VS_110_2_0_2_0_1%] get ();
}
abstract Count : [%$TOPIC/5s3kzhec_en-us_VS_110_2_0_3_0_0%] with get
function get Count () : [%$TOPIC/5s3kzhec_en-us_VS_110_2_0_4_0_0%]

Property Value

Type: SystemInt32
The number of elements contained in the ICollectionT.
Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8