LOTUSSCRIPT/COM/OLE CLASSES
Given the name of a file attachment, returns a NotesEmbeddedObject representing the attachment. You can use this method to find file attachments which are not contained in a rich text item (such as an attachment in a Release 2 database), as well as file attachments that are contained in a rich text item.
Define in
NotesDocument
Syntax
Set notesEmbeddedObject = notesDocument.GetAttachment( fileName$ )
Parameters
fileName$
notesEmbeddedObject
The Parent property for the returned NotesEmbeddedObject returns Nothing, since it was not accessed through a NotesRichTextItem.
Language cross-reference
getAttachment method in Java Document class
Example See Also