Description: | Gets the last item in the list |
Syntax: | object.GetLast() |
Parameters: | |
list | Required, the list object |
Remarks: | Returns the last 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 contact As Object
Dim contacts As Object
Set session = CreateObject("OfficeTalk.Session")
Set user = session.Logon(login name, password)
Set contacts = session.GetContacts
Set contact = contacts.GetLast