Gets the number of listeners in the list.
[Visual Basic] Overridable Public ReadOnly Property Count As Integer [C#] public int Count {virtual get;} [C++] public: __property virtual int get_Count(); [JScript] public function get Count() : int;
The number of listeners in the list.
The Count property can be used to set the limits of a loop that iterates through a list of objects. If the list is zero-based, be sure to use "Count- 1" as the upper bound of the loop.
TraceListeners Class | TraceListeners Members | System.Diagnostics Namespace | TraceListeners | TraceListener | DefaultTraceListener | TextWriterTraceListener | Debug | Trace