| Visual Basic (Declaration) | |
|---|---|
Public Overridable ReadOnly Property Count As Integer  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public virtual int Count {get;}  | |
Return Value
The number of items in the collection.For an example, refer to Generic RasterCollection. 
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family