Count Property
      
 

Description

Returns total number of contacts in the collection.


Property type

An Integer value.  


Syntax

object.Count



The Count Property syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPContacts.

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