CLASSI JAVA/CORBA


getAttachment method
Esempio

Returns a representation of a file attachment. You can use this method to find file attachments that 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.

Defined in

Document

Syntax

public EmbeddedObject getAttachment(String filename)
   throws NotesException

Parameters

String filename


Return value

EmbeddedObject


Usage

The Parent property for the returned EmbeddedObject returns null, since it was not accessed through a RichTextItem.

Language cross-reference

GetAttachment method in LotusScript NotesDocument class

Esempio
Vedere anche