Description: Returns the number of items in this list
Syntax: list.GetCount()
Parameters: list - Required, the list object
Remarks: If there is no filter applied to this list then the returned count will represent the total number of items in the list to which you have at least visible access.
Returns: An integer representing the number of items in the list.
Example:
Dim session As Object
Dim tasks As Object
Dim task As Object
Dim user As Object
Dim iTasks As Integer
Set session = CreateObject("OfficeTalk.Session")
Set user = session.Logon(login name, password)
Set tasks = user.tasks
iTasks = tasks.GetCount