Back to product page

Count property


Returns total number of services in the collection.

Type

Integer

Syntax

  • Basic
object.Count [= value]
The Count(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPServices
valueA Integer value.

Remarks

Count property returns total amount of service items in Services collection. This is particuliarly helpful if you wish to iterate thru the collection. For example (VB code)
 
Dim i As Integer
For i = 0 To wodXMPP1.Services.Count - 1
 Debug.Print wodXMPP1.Services(i).Name
Next


Platforms

Windows