Gets the number of items in the collection.
Supported in Silverlight, Windows Phone 7
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable ReadOnly Property Count As Integer |
| C# | |
|---|
public virtual int Count {get;} |
| C++/CLI | |
|---|
public:
virtual property int Count {
int get();
} |
Property Value
The number of items in the collection.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also