attachVCard method
Attaches one or more documents in vCard format.

Note This method is new with Release 8.0.

Defined in

Document

Syntax

public void attachVCard(lotus.domino.Base document)
   throws NotesException

Parameters

document


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.

Language cross-reference

AttachVCard method in LotusScript NotesDocument class