Count property

Returns the number of errors in the collection.

 Visual Basic syntax
 C# syntax