To create a new object, object link, or file attachment, use the EmbedObject method in NotesRichTextItem.
Access
There are several ways to access an existing object, object link, or file attachment:
To access an object, object link, or attachment when you know its name and the rich text item that contains it, use GetEmbeddedObject in NotesRichTextItem.
To access all the objects, object links, and attachments in a particular rich text item, use EmbeddedObjects in NotesRichTextItem.
To access the objects and object links in a particular document, including those that are not contained within a particular rich text item, use EmbeddedObjects in NotesDocument. This property does not return file attachments or objects and object links created in Notes Release 3.