Represents contact information. More...

Inherits Aspose::Email::IPreferredTextEncodingProvider.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::SharedPtr< ObjectIdentifierget_Id () const
 Gets object identification information More...
 
ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::Gender get_Gender () const
 Gets gender of a person. More...
 
ASPOSE_EMAIL_SHARED_API void set_Gender (Aspose::Email::PersonalInfo::Gender value)
 Sets gender of a person. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Location () const
 Gets location More...
 
ASPOSE_EMAIL_SHARED_API void set_Location (System::String value)
 Sets location More...
 
ASPOSE_EMAIL_SHARED_API System::String get_OfficeLocation () const
 Gets office location More...
 
ASPOSE_EMAIL_SHARED_API void set_OfficeLocation (System::String value)
 Sets office location More...
 
ASPOSE_EMAIL_SHARED_API System::String get_FreeBusyLocation () const
 Gets URL path from which a client can retrieve free/busy information for the contact as an iCal file More...
 
ASPOSE_EMAIL_SHARED_API void set_FreeBusyLocation (System::String value)
 Sets URL path from which a client can retrieve free/busy information for the contact as an iCal file More...
 
ASPOSE_EMAIL_SHARED_API System::String get_ComputerNetworkName () const
 Gets a name of the mail user's computer network. More...
 
ASPOSE_EMAIL_SHARED_API void set_ComputerNetworkName (System::String value)
 Sets a name of the mail user's computer network. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Text::Encoding > get_PreferredTextEncoding ()
 Gets preferred encoding for all text properties More...
 
ASPOSE_EMAIL_SHARED_API void set_PreferredTextEncoding (System::SharedPtr< System::Text::Encoding > value)
 Sets preferred encoding for all text properties More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Initials () const
 Gets an initials More...
 
ASPOSE_EMAIL_SHARED_API void set_Initials (System::String value)
 Sets an initials More...
 
ASPOSE_EMAIL_SHARED_API System::String get_DisplayName () const
 Gets a display name More...
 
ASPOSE_EMAIL_SHARED_API void set_DisplayName (System::String value)
 Sets a display name More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Prefix () const
 Gets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. More...
 
ASPOSE_EMAIL_SHARED_API void set_Prefix (System::String value)
 Sets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_GivenName () const
 Gets a given name that is a part of a person's full name. A given name is also known as a personal name, first name, forename, or Christian name. More...
 
ASPOSE_EMAIL_SHARED_API void set_GivenName (System::String value)
 Sets a given name that is a part of a person's full name. A given name is also known as a personal name, first name, forename, or Christian name. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_MiddleName () const
 Gets a middle name that is a part of a person's full name. In some countries people have an additional (middle) name. More...
 
ASPOSE_EMAIL_SHARED_API void set_MiddleName (System::String value)
 Sets a middle name that is a part of a person's full name. In some countries people have an additional (middle) name. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Surname () const
 Gets a surname that is a part of a person's full name. Surname is also known as family name or last name. More...
 
ASPOSE_EMAIL_SHARED_API void set_Surname (System::String value)
 Sets a surname that is a part of a person's full name. Surname is also known as family name or last name. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Suffix () const
 Gets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on. More...
 
ASPOSE_EMAIL_SHARED_API void set_Suffix (System::String value)
 Sets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Notes () const
 Gets a notes More...
 
ASPOSE_EMAIL_SHARED_API void set_Notes (System::String value)
 Sets a notes More...
 
ASPOSE_EMAIL_SHARED_API TextFormat get_NotesFormat () const
 Gets a format of a notes field. More...
 
ASPOSE_EMAIL_SHARED_API void set_NotesFormat (TextFormat value)
 Sets a format of a notes field. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Nickname () const
 Gets a nickname of a person. More...
 
ASPOSE_EMAIL_SHARED_API void set_Nickname (System::String value)
 Sets a nickname of a person. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< ContactPhotoget_Photo () const
 Gets an image of contact More...
 
ASPOSE_EMAIL_SHARED_API void set_Photo (System::SharedPtr< ContactPhoto > value)
 Sets an image of contact More...
 
ASPOSE_EMAIL_SHARED_API System::String get_CompanyName () const
 Gets a company name. More...
 
ASPOSE_EMAIL_SHARED_API void set_CompanyName (System::String value)
 Sets a company name. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Profession () const
 Gets a job position of a person in a company. More...
 
ASPOSE_EMAIL_SHARED_API void set_Profession (System::String value)
 Sets a job position of a person in a company. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_JobTitle () const
 Gets a job title. More...
 
ASPOSE_EMAIL_SHARED_API void set_JobTitle (System::String value)
 Sets a job title. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_DepartmentName () const
 Gets a department name. More...
 
ASPOSE_EMAIL_SHARED_API void set_DepartmentName (System::String value)
 Sets a department name. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_FileAs () const
 Gets a name used for sorting. More...
 
ASPOSE_EMAIL_SHARED_API void set_FileAs (System::String value)
 Sets a name used for sorting. More...
 
ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::FileAsMapping get_FileAsMapping () const
 Gets a value which specifies how to generate and recompute the value of the FileAs property when other contact name properties change. More...
 
ASPOSE_EMAIL_SHARED_API void set_FileAsMapping (Aspose::Email::PersonalInfo::FileAsMapping value)
 Sets a value which specifies how to generate and recompute the value of the FileAs property when other contact name properties change. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Account () const
 Contains the alias of an Address Book object, which is an alternative name by which the object can be identified. More...
 
ASPOSE_EMAIL_SHARED_API void set_Account (System::String value)
 Contains the alias of an Address Book object, which is an alternative name by which the object can be identified. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_OrganizationalIdNumber () const
 Contains an identifier for the mail user used within the mail user's organization. More...
 
ASPOSE_EMAIL_SHARED_API void set_OrganizationalIdNumber (System::String value)
 Contains an identifier for the mail user used within the mail user's organization. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_CustomerId () const
 Gets a customer id More...
 
ASPOSE_EMAIL_SHARED_API void set_CustomerId (System::String value)
 Sets a customer id More...
 
ASPOSE_EMAIL_SHARED_API System::String get_GovernmentIdNumber () const
 Gets a government id number More...
 
ASPOSE_EMAIL_SHARED_API void set_GovernmentIdNumber (System::String value)
 Sets a government id number More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Hobbies () const
 Gets a hobbies More...
 
ASPOSE_EMAIL_SHARED_API void set_Hobbies (System::String value)
 Sets a hobbies More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Language () const
 Gets a language More...
 
ASPOSE_EMAIL_SHARED_API void set_Language (System::String value)
 Sets a language More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressListget_EmailAddresses () const
 Gets list of email addresses More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< PostalAddressListget_PhysicalAddresses () const
 Gets list of postal addresses More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberListget_PhoneNumbers () const
 Gets list of phone numbers More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< UrlListget_Urls () const
 Gets list of urls More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< EventListget_Events () const
 Gets list of events More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< InstantMessengerListget_InstantMessengers () const
 Gets list of instant messenger addresses More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< AssociatedPersonsListget_AssociatedPersons () const
 Gets list of associated persons More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< AttachmentCollection > get_Attachments () const
 Gets attachments collection More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Collections::Generic::Dictionary< System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor >, System::SharedPtr< System::Object > > > get_ExtendedProperties () const
 Gets extended properties of contact More...
 
ASPOSE_EMAIL_SHARED_API void Save (System::SharedPtr< System::IO::Stream > stream)
 Saves this MapiContact into the given stream with vCard format. The supported vCard version is 2.1 More...
 
ASPOSE_EMAIL_SHARED_API void Save (System::String filePath)
 Saves this MapiContact to the vCard file with a default options. The supported vCard version is 2.1 More...
 
ASPOSE_EMAIL_SHARED_API void Save (System::String filePath, System::SharedPtr< Aspose::Email::Mapi::ContactSaveOptions > saveOptions)
 Saves this MapiContact into file using specified save options. The supported save options is VCardSaveOptions More...
 
ASPOSE_EMAIL_SHARED_API void Save (System::String filePath, Aspose::Email::Mapi::ContactSaveFormat saveFormat)
 Saves this MapiContact to the specified file with a format using the default options. The supported save format is vCard. More...
 
ASPOSE_EMAIL_SHARED_API void Save (System::SharedPtr< System::IO::Stream > stream, Aspose::Email::Mapi::ContactSaveFormat saveFormat)
 Saves this Contact to the given stream with a format using the default options. More...
 
ASPOSE_EMAIL_SHARED_API void Save (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Aspose::Email::Mapi::ContactSaveOptions > saveOptions)
 Saves this Contact to the given stream using specified save options. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString ()
 Returns a string that represents the current object. More...
 
ASPOSE_EMAIL_SHARED_API Contact ()
 
ASPOSE_EMAIL_SHARED_API System::String ToString () const override
 

Static Public Member Functions

static ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Mapi::MapiContact > to_MapiContact (System::SharedPtr< Contact > contact)
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< Contactto_Contact (System::SharedPtr< Aspose::Email::Mapi::MapiContact > contact)
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< ContactLoad (System::String filePath)
 Loads contact data More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< ContactLoad (System::String filePath, ContactLoadFormat format)
 Loads contact data More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< ContactLoad (System::SharedPtr< System::IO::Stream > stream)
 Loads contact data More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< ContactLoad (System::SharedPtr< System::IO::Stream > stream, ContactLoadFormat format)
 Loads contact data More...
 

Protected Member Functions

virtual ASPOSE_EMAIL_SHARED_API ~Contact ()
 

Friends

class Aspose::Email::Common::ContactConverter
 
class Aspose::Email::Clients::Exchange::WebService::ContactEwsConverter
 

Detailed Description

Represents contact information.

Constructor & Destructor Documentation

◆ Contact()

ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::Contact::Contact ( )

◆ ~Contact()

virtual ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::Contact::~Contact ( )
protectedvirtual

Member Function Documentation

◆ get_Account()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Account ( ) const

Contains the alias of an Address Book object, which is an alternative name by which the object can be identified.

◆ get_AssociatedPersons()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<AssociatedPersonsList> Aspose::Email::PersonalInfo::Contact::get_AssociatedPersons ( ) const

Gets list of associated persons

◆ get_Attachments()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<AttachmentCollection> Aspose::Email::PersonalInfo::Contact::get_Attachments ( ) const

Gets attachments collection

◆ get_CompanyName()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_CompanyName ( ) const

Gets a company name.

◆ get_ComputerNetworkName()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_ComputerNetworkName ( ) const

Gets a name of the mail user's computer network.

◆ get_CustomerId()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_CustomerId ( ) const

Gets a customer id

◆ get_DepartmentName()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_DepartmentName ( ) const

Gets a department name.

◆ get_DisplayName()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_DisplayName ( ) const

Gets a display name

◆ get_EmailAddresses()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressList> Aspose::Email::PersonalInfo::Contact::get_EmailAddresses ( ) const

Gets list of email addresses

◆ get_Events()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<EventList> Aspose::Email::PersonalInfo::Contact::get_Events ( ) const

Gets list of events

◆ get_ExtendedProperties()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Collections::Generic::Dictionary<System::SharedPtr<Aspose::Email::Mapi::PropertyDescriptor>, System::SharedPtr<System::Object> > > Aspose::Email::PersonalInfo::Contact::get_ExtendedProperties ( ) const

Gets extended properties of contact

◆ get_FileAs()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_FileAs ( ) const

Gets a name used for sorting.

◆ get_FileAsMapping()

ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::FileAsMapping Aspose::Email::PersonalInfo::Contact::get_FileAsMapping ( ) const

Gets a value which specifies how to generate and recompute the value of the FileAs property when other contact name properties change.

◆ get_FreeBusyLocation()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_FreeBusyLocation ( ) const

Gets URL path from which a client can retrieve free/busy information for the contact as an iCal file

◆ get_Gender()

ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::Gender Aspose::Email::PersonalInfo::Contact::get_Gender ( ) const

Gets gender of a person.

◆ get_GivenName()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_GivenName ( ) const

Gets a given name that is a part of a person's full name. A given name is also known as a personal name, first name, forename, or Christian name.

◆ get_GovernmentIdNumber()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_GovernmentIdNumber ( ) const

Gets a government id number

◆ get_Hobbies()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Hobbies ( ) const

Gets a hobbies

◆ get_Id()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<ObjectIdentifier> Aspose::Email::PersonalInfo::Contact::get_Id ( ) const

Gets object identification information

◆ get_Initials()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Initials ( ) const

Gets an initials

◆ get_InstantMessengers()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<InstantMessengerList> Aspose::Email::PersonalInfo::Contact::get_InstantMessengers ( ) const

Gets list of instant messenger addresses

◆ get_JobTitle()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_JobTitle ( ) const

Gets a job title.

◆ get_Language()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Language ( ) const

Gets a language

◆ get_Location()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Location ( ) const

Gets location

◆ get_MiddleName()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_MiddleName ( ) const

Gets a middle name that is a part of a person's full name. In some countries people have an additional (middle) name.

◆ get_Nickname()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Nickname ( ) const

Gets a nickname of a person.

◆ get_Notes()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Notes ( ) const

Gets a notes

◆ get_NotesFormat()

ASPOSE_EMAIL_SHARED_API TextFormat Aspose::Email::PersonalInfo::Contact::get_NotesFormat ( ) const

Gets a format of a notes field.

◆ get_OfficeLocation()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_OfficeLocation ( ) const

Gets office location

◆ get_OrganizationalIdNumber()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_OrganizationalIdNumber ( ) const

Contains an identifier for the mail user used within the mail user's organization.

◆ get_PhoneNumbers()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberList> Aspose::Email::PersonalInfo::Contact::get_PhoneNumbers ( ) const

Gets list of phone numbers

◆ get_Photo()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<ContactPhoto> Aspose::Email::PersonalInfo::Contact::get_Photo ( ) const

Gets an image of contact

◆ get_PhysicalAddresses()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<PostalAddressList> Aspose::Email::PersonalInfo::Contact::get_PhysicalAddresses ( ) const

Gets list of postal addresses

◆ get_PreferredTextEncoding()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Text::Encoding> Aspose::Email::PersonalInfo::Contact::get_PreferredTextEncoding ( )
virtual

Gets preferred encoding for all text properties

Implements Aspose::Email::IPreferredTextEncodingProvider.

◆ get_Prefix()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Prefix ( ) const

Gets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.

◆ get_Profession()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Profession ( ) const

Gets a job position of a person in a company.

◆ get_Suffix()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Suffix ( ) const

Gets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on.

◆ get_Surname()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::get_Surname ( ) const

Gets a surname that is a part of a person's full name. Surname is also known as family name or last name.

◆ get_Urls()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<UrlList> Aspose::Email::PersonalInfo::Contact::get_Urls ( ) const

Gets list of urls

◆ Load() [1/4]

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<Contact> Aspose::Email::PersonalInfo::Contact::Load ( System::SharedPtr< System::IO::Stream >  stream)
static

Loads contact data

Parameters
streamContact stream
Returns
Returns contact object

◆ Load() [2/4]

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<Contact> Aspose::Email::PersonalInfo::Contact::Load ( System::SharedPtr< System::IO::Stream >  stream,
ContactLoadFormat  format 
)
static

Loads contact data

Parameters
streamContact stream
formatRepresents contact format
Returns
Returns contact object

◆ Load() [3/4]

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<Contact> Aspose::Email::PersonalInfo::Contact::Load ( System::String  filePath)
static

Loads contact data

Parameters
filePathfile path
Returns
Returns contact object

◆ Load() [4/4]

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<Contact> Aspose::Email::PersonalInfo::Contact::Load ( System::String  filePath,
ContactLoadFormat  format 
)
static

Loads contact data

Parameters
filePathfile path
formatRepresents contact format
Returns
Returns contact object

◆ Save() [1/6]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::Save ( System::SharedPtr< System::IO::Stream >  stream)

Saves this MapiContact into the given stream with vCard format. The supported vCard version is 2.1

Parameters
streamA stream to save to
Exceptions
ArgumentNullExceptionstream is null
NotSupportedExceptionstream does not support writing

◆ Save() [2/6]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::Save ( System::SharedPtr< System::IO::Stream >  stream,
Aspose::Email::Mapi::ContactSaveFormat  saveFormat 
)

Saves this Contact to the given stream with a format using the default options.

Parameters
streamA stream to save to
saveFormatA save format

◆ Save() [3/6]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::Save ( System::SharedPtr< System::IO::Stream >  stream,
System::SharedPtr< Aspose::Email::Mapi::ContactSaveOptions saveOptions 
)

Saves this Contact to the given stream using specified save options.

Parameters
streamA stream to save to
saveOptionsA save options

◆ Save() [4/6]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::Save ( System::String  filePath)

Saves this MapiContact to the vCard file with a default options. The supported vCard version is 2.1

Parameters
filePathA vCard file name
Exceptions
ArgumentExceptionfilePath is null or empty

◆ Save() [5/6]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::Save ( System::String  filePath,
Aspose::Email::Mapi::ContactSaveFormat  saveFormat 
)

Saves this MapiContact to the specified file with a format using the default options. The supported save format is vCard.

Parameters
filePathA vCard file name
saveFormatA save format

◆ Save() [6/6]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::Save ( System::String  filePath,
System::SharedPtr< Aspose::Email::Mapi::ContactSaveOptions saveOptions 
)

Saves this MapiContact into file using specified save options. The supported save options is VCardSaveOptions

Parameters
filePathA vCard file name
saveOptionsA save options
Exceptions
ArgumentExceptionfilePath is null or empty
ArgumentNullExceptionsaveOptions is null
NotSupportedExceptionsome save option is not supported

◆ set_Account()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Account ( System::String  value)

Contains the alias of an Address Book object, which is an alternative name by which the object can be identified.

◆ set_CompanyName()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_CompanyName ( System::String  value)

Sets a company name.

◆ set_ComputerNetworkName()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_ComputerNetworkName ( System::String  value)

Sets a name of the mail user's computer network.

◆ set_CustomerId()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_CustomerId ( System::String  value)

Sets a customer id

◆ set_DepartmentName()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_DepartmentName ( System::String  value)

Sets a department name.

◆ set_DisplayName()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_DisplayName ( System::String  value)

Sets a display name

◆ set_FileAs()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_FileAs ( System::String  value)

Sets a name used for sorting.

◆ set_FileAsMapping()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_FileAsMapping ( Aspose::Email::PersonalInfo::FileAsMapping  value)

Sets a value which specifies how to generate and recompute the value of the FileAs property when other contact name properties change.

◆ set_FreeBusyLocation()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_FreeBusyLocation ( System::String  value)

Sets URL path from which a client can retrieve free/busy information for the contact as an iCal file

◆ set_Gender()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Gender ( Aspose::Email::PersonalInfo::Gender  value)

Sets gender of a person.

◆ set_GivenName()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_GivenName ( System::String  value)

Sets a given name that is a part of a person's full name. A given name is also known as a personal name, first name, forename, or Christian name.

◆ set_GovernmentIdNumber()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_GovernmentIdNumber ( System::String  value)

Sets a government id number

◆ set_Hobbies()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Hobbies ( System::String  value)

Sets a hobbies

◆ set_Initials()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Initials ( System::String  value)

Sets an initials

◆ set_JobTitle()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_JobTitle ( System::String  value)

Sets a job title.

◆ set_Language()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Language ( System::String  value)

Sets a language

◆ set_Location()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Location ( System::String  value)

Sets location

◆ set_MiddleName()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_MiddleName ( System::String  value)

Sets a middle name that is a part of a person's full name. In some countries people have an additional (middle) name.

◆ set_Nickname()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Nickname ( System::String  value)

Sets a nickname of a person.

◆ set_Notes()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Notes ( System::String  value)

Sets a notes

◆ set_NotesFormat()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_NotesFormat ( TextFormat  value)

Sets a format of a notes field.

◆ set_OfficeLocation()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_OfficeLocation ( System::String  value)

Sets office location

◆ set_OrganizationalIdNumber()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_OrganizationalIdNumber ( System::String  value)

Contains an identifier for the mail user used within the mail user's organization.

◆ set_Photo()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Photo ( System::SharedPtr< ContactPhoto value)

Sets an image of contact

◆ set_PreferredTextEncoding()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_PreferredTextEncoding ( System::SharedPtr< System::Text::Encoding >  value)
virtual

Sets preferred encoding for all text properties

Implements Aspose::Email::IPreferredTextEncodingProvider.

◆ set_Prefix()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Prefix ( System::String  value)

Sets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.

◆ set_Profession()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Profession ( System::String  value)

Sets a job position of a person in a company.

◆ set_Suffix()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Suffix ( System::String  value)

Sets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on.

◆ set_Surname()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Contact::set_Surname ( System::String  value)

Sets a surname that is a part of a person's full name. Surname is also known as family name or last name.

◆ to_Contact()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<Contact> Aspose::Email::PersonalInfo::Contact::to_Contact ( System::SharedPtr< Aspose::Email::Mapi::MapiContact >  contact)
static

◆ to_MapiContact()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<Aspose::Email::Mapi::MapiContact> Aspose::Email::PersonalInfo::Contact::to_MapiContact ( System::SharedPtr< Contact contact)
static

◆ ToString() [1/2]

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::ToString ( )
virtual

Returns a string that represents the current object.

Returns
A string that represents the current object.

◆ ToString() [2/2]

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Contact::ToString ( ) const
override

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::WebService::ContactEwsConverter

friend class Aspose::Email::Clients::Exchange::WebService::ContactEwsConverter
friend

◆ Aspose::Email::Common::ContactConverter

friend class Aspose::Email::Common::ContactConverter
friend