attachVCard (Document - Java™)
Attaches one or more documents in vCard format.
Note: This method is new with Release 8.0.
Defined in
Syntax
public void attachVCard(lotus.domino.Base document)
throws NotesException
Parameters
document
Document, DocumentCollection, or NotesCollection. The Contact document or documents to be attached in vCard format. If a collection is specified, a single attachment will be made with the individual vCards lying end to end.
Usage
To keep the new attachment, call save after calling attachVCard.
If an empty collection is supplied, the error "No documents in collection" will be thrown.
If documents are not Contact documents, the documents will not be attached, and the error "Attach of VCard failed" will be thrown.
The attachment will be in the UTF-8 character set.