Save
Saves this MapiContact
into the given stream with vCard format. The supported vCard version is 2.1
public void Save(Stream stream)
Parameter |
Type |
Description |
stream |
Stream |
A stream to save to |
Exceptions
exception |
condition |
ArgumentNullException |
stream is null |
NotSupportedException |
stream does not support writing |
See Also
Saves this MapiContact
to the vCard file with a default options. The supported vCard version is 2.1
public void Save(string filePath)
Parameter |
Type |
Description |
filePath |
String |
A vCard file name |
Exceptions
exception |
condition |
ArgumentException |
filePath is null or empty |
See Also
Saves this MapiContact
into file using specified save options. The supported save options is VCardSaveOptions
public void Save(string filePath, ContactSaveOptions saveOptions)
Parameter |
Type |
Description |
filePath |
String |
A vCard file name |
saveOptions |
ContactSaveOptions |
A save options |
Exceptions
exception |
condition |
ArgumentException |
filePath is null or empty |
ArgumentNullException |
saveOptions is null |
NotSupportedException |
some save option is not supported |
See Also
Saves this MapiContact
to the specified file with a format using the default options. The supported save format is vCard.
public void Save(string filePath, ContactSaveFormat saveFormat)
Parameter |
Type |
Description |
filePath |
String |
A vCard file name |
saveFormat |
ContactSaveFormat |
A save format |
See Also
Saves this Contact
to the given stream with a format using the default options.
public void Save(Stream stream, ContactSaveFormat saveFormat)
Parameter |
Type |
Description |
stream |
Stream |
A stream to save to |
saveFormat |
ContactSaveFormat |
A save format |
See Also
Saves this Contact
to the given stream using specified save options.
public void Save(Stream stream, ContactSaveOptions saveOptions)
Parameter |
Type |
Description |
stream |
Stream |
A stream to save to |
saveOptions |
ContactSaveOptions |
A save options |
See Also