Description: | Returns the number of items in this list |
Syntax: | list.Count() |
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 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.Count