RDOLink object

 

Represents an item that is linked to another Microsoft Outlook item. Each item has a Links object associated with it that represents all the items that have been linked to the item.

 

Returned by:

RDOLinks.Item, RDOLinks.Add

 

The example below prints out the names of all links for a given task.

set Links = Task.Links
Debug.Print ("There are " & Links.Count & " links for the task '" & Task.Subject & "'")
for each Link in Links
  Debug.Print (Link.Name)
next

 

Properties

Methods

 


Derived from: IDispatch


Properties


EntryID

The entry id of the linked item.

String, read-only.

 

Item

Object, read-only

Returns the linked object, either RDOContactItem or RDOAddressEntry.

'Display all contact items linked to the given task

set Links = Task.Links
Debug.Print ("There are " & Links.Count & " links for the task '" & Task.Subject & "'")
for each Link in Links
  Link.Item.Display
next

Name

The display name of the linked item

String, read-only.

 

SearchKey

The search key (PR_SEARCH_KEY) of the linked item.

String, read-only.

 


Methods


Delete

Removes the link from the Links collection