Aspose::Email::PersonalInfo::VCard::VCardSaveOptions Class Referencefinal

Represents vCard save options More...

Inherits Aspose::Email::Mapi::ContactSaveOptions.

Public Member Functions

VCardVersion get_Version () const
 Gets a vCard version More...
 
void set_Version (VCardVersion value)
 Sets a vCard version More...
 
bool get_UseExtensions () const
 Gets a value indicating whether the extended types can be used More...
 
void set_UseExtensions (bool value)
 Sets a value indicating whether the extended types can be used More...
 
System::SharedPtr< System::Text::Encoding > get_PreferredTextEncoding () const
 Gets Encoding that will be used to save Contact. More...
 
void set_PreferredTextEncoding (System::SharedPtr< System::Text::Encoding > value)
 Sets Encoding that will be used to save Contact. More...
 
 VCardSaveOptions ()
 Initializes a new instance of the VCardSaveOptions class More...
 
 VCardSaveOptions (VCardVersion version, bool useExtensions)
 Initializes a new instance of the VCardSaveOptions class More...
 
 VCardSaveOptions (VCardVersion version)
 Initializes a new instance of the VCardSaveOptions class More...
 
- Public Member Functions inherited from Aspose::Email::Mapi::ContactSaveOptions
ContactSaveFormat get_SaveFormat () const
 Gets a save format More...
 

Static Public Member Functions

static System::SharedPtr< VCardSaveOptionsget_Default ()
 Gets default VCardSaveOptions More...
 

Additional Inherited Members

- Protected Member Functions inherited from Aspose::Email::Mapi::ContactSaveOptions
 ContactSaveOptions (ContactSaveFormat format)
 Initializes a new instance of ContactSaveOptions class with the specified save format. More...
 

Detailed Description

Represents vCard save options

Constructor & Destructor Documentation

◆ VCardSaveOptions() [1/3]

Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::VCardSaveOptions ( )

Initializes a new instance of the VCardSaveOptions class

◆ VCardSaveOptions() [2/3]

Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::VCardSaveOptions ( VCardVersion  version,
bool  useExtensions 
)

Initializes a new instance of the VCardSaveOptions class

Parameters
versiona vCard version
useExtensionsindicates whether extended types can be used.
Exceptions
ArgumentExceptionA version is not defined in VCardVersion

◆ VCardSaveOptions() [3/3]

Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::VCardSaveOptions ( VCardVersion  version)

Initializes a new instance of the VCardSaveOptions class

Parameters
versiona vCard version
Exceptions
ArgumentExceptionA version is not defined in VCardVersion

Member Function Documentation

◆ get_Default()

static System::SharedPtr<VCardSaveOptions> Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::get_Default ( )
static

Gets default VCardSaveOptions

◆ get_PreferredTextEncoding()

System::SharedPtr<System::Text::Encoding> Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::get_PreferredTextEncoding ( ) const

Gets Encoding that will be used to save Contact.

◆ get_UseExtensions()

bool Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::get_UseExtensions ( ) const

Gets a value indicating whether the extended types can be used

◆ get_Version()

VCardVersion Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::get_Version ( ) const

Gets a vCard version

Exceptions
ArgumentExceptionA value is not defined in VCardVersion

◆ set_PreferredTextEncoding()

void Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::set_PreferredTextEncoding ( System::SharedPtr< System::Text::Encoding >  value)

Sets Encoding that will be used to save Contact.

◆ set_UseExtensions()

void Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::set_UseExtensions ( bool  value)

Sets a value indicating whether the extended types can be used

◆ set_Version()

void Aspose::Email::PersonalInfo::VCard::VCardSaveOptions::set_Version ( VCardVersion  value)

Sets a vCard version

Exceptions
ArgumentExceptionA value is not defined in VCardVersion