Back to product page

Count property


Returns total number of contacts 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 XMPPContacts
valueA Integer value.

Remarks

Count Property will return total number of contacts stored in Contacts collection. You can use this property for iterating thru Contacts collection. I.e.:
 
Dim i As Integer
For i = 0 To wodXMPP1.Contacts.Count - 1
 Debug.Print wodXMPP1.Contacts(i).Name
Next


Platforms

Windows