VCardContactSave Method (Stream, ContactSaveOptions)

Saves this MapiContact to the given stream using specified save options. The supported save options is VCardSaveOptions

Namespace:  Aspose.Email.PersonalInfo.VCard
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public void Save(
	Stream stream,
	ContactSaveOptions saveOptions
)

Parameters

stream
Type: System.IOStream
A stream to save to
saveOptions
Type: Aspose.Email.MapiContactSaveOptions
A save options
Exceptions
ExceptionCondition
ArgumentNullExceptionstream or saveOptions is null
NotSupportedExceptionstream does not support writing
ArgumentExceptionincorrect saveOptions
NotSupportedExceptionsome save option is not supported
See Also