Description: | Gets the first item in the list |
Syntax: | object.GetFirst() |
Parameters: | |
list | Required, the list object |
Remarks: | Returns the first item in the list. If there are no items in the list or you do not have at least visible access to any of the items in the list then Nothing is returned. |
Returns: | An object of the appropriate type. |
Example: |
Dim user As Object
Dim users As Object
Set session = CreateObject("OfficeTalk.Session")
Call session.Logon(login name, password)
Set users = session.GetUsers
Set user = users.GetFirst