IBM
LOT-410 · Question #8
Charles has created an agent which uses the Send method of the NotesDocument class. He has added a button to the document and it should be included when the message is sent. Which code snippet below…
The correct answer is B. Dim doc as NotesDocument'...set value of doc...Call doc.Save(False, False)Call doc.Send(True). See the full explanation below for the reasoning.
Question
Charles has created an agent which uses the Send method of the NotesDocument class. He has added a button to the document and it should be included when the message is sent. Which code snippet below would correctly send the message and include the button?
Options
- ADim doc as NotesDocument'...set value of doc...Call doc.Save(True, False)Call doc.Send(False, True)
- BDim doc as NotesDocument'...set value of doc...Call doc.Save(False, False)Call doc.Send(True)
- CDim doc as NotesDocument'...set value of doc...Call doc.Save(False)Call doc.Send(SendTo, True)
- DDim doc as NotesDocument'...set value of doc...Call doc.Save(True)Call doc.Send("SendTo", True)
How the community answered
(36 responses)- A14% (5)
- B78% (28)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.