Represents contact information. More...
Inherits Aspose::Email::IPreferredTextEncodingProvider.
Public Member Functions | |
System::SharedPtr< ObjectIdentifier > | get_Id () const |
Gets object identification information More... | |
Aspose::Email::PersonalInfo::Gender | get_Gender () const |
Gets gender of a person. More... | |
void | set_Gender (Aspose::Email::PersonalInfo::Gender value) |
Sets gender of a person. More... | |
System::String | get_Location () const |
Gets location More... | |
void | set_Location (System::String value) |
Sets location More... | |
System::String | get_OfficeLocation () const |
Gets office location More... | |
void | set_OfficeLocation (System::String value) |
Sets office location More... | |
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... | |
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... | |
System::String | get_ComputerNetworkName () const |
Gets a name of the mail user's computer network. More... | |
void | set_ComputerNetworkName (System::String value) |
Sets a name of the mail user's computer network. More... | |
System::SharedPtr< System::Text::Encoding > | get_PreferredTextEncoding () override |
Gets preferred encoding for all text properties More... | |
void | set_PreferredTextEncoding (System::SharedPtr< System::Text::Encoding > value) override |
Sets preferred encoding for all text properties More... | |
System::String | get_Initials () const |
Gets an initials More... | |
void | set_Initials (System::String value) |
Sets an initials More... | |
System::String | get_DisplayName () const |
Gets a display name More... | |
void | set_DisplayName (System::String value) |
Sets a display name More... | |
System::String | get_Prefix () const |
Gets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. More... | |
void | set_Prefix (System::String value) |
Sets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. More... | |
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... | |
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... | |
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... | |
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... | |
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... | |
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... | |
System::String | get_Suffix () const |
Gets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on. More... | |
void | set_Suffix (System::String value) |
Sets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on. More... | |
System::String | get_Notes () const |
Gets a notes More... | |
void | set_Notes (System::String value) |
Sets a notes More... | |
TextFormat | get_NotesFormat () const |
Gets a format of a notes field. More... | |
void | set_NotesFormat (TextFormat value) |
Sets a format of a notes field. More... | |
System::String | get_Nickname () const |
Gets a nickname of a person. More... | |
void | set_Nickname (System::String value) |
Sets a nickname of a person. More... | |
System::SharedPtr< ContactPhoto > | get_Photo () const |
Gets an image of contact More... | |
void | set_Photo (System::SharedPtr< ContactPhoto > value) |
Sets an image of contact More... | |
System::String | get_CompanyName () const |
Gets a company name. More... | |
void | set_CompanyName (System::String value) |
Sets a company name. More... | |
System::String | get_Profession () const |
Gets a job position of a person in a company. More... | |
void | set_Profession (System::String value) |
Sets a job position of a person in a company. More... | |
System::String | get_JobTitle () const |
Gets a job title. More... | |
void | set_JobTitle (System::String value) |
Sets a job title. More... | |
System::String | get_DepartmentName () const |
Gets a department name. More... | |
void | set_DepartmentName (System::String value) |
Sets a department name. More... | |
System::String | get_FileAs () const |
Gets a name used for sorting. More... | |
void | set_FileAs (System::String value) |
Sets a name used for sorting. More... | |
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... | |
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... | |
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... | |
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... | |
System::String | get_OrganizationalIdNumber () const |
Contains an identifier for the mail user used within the mail user's organization. More... | |
void | set_OrganizationalIdNumber (System::String value) |
Contains an identifier for the mail user used within the mail user's organization. More... | |
System::String | get_CustomerId () const |
Gets a customer id More... | |
void | set_CustomerId (System::String value) |
Sets a customer id More... | |
System::String | get_GovernmentIdNumber () const |
Gets a government id number More... | |
void | set_GovernmentIdNumber (System::String value) |
Sets a government id number More... | |
System::String | get_Hobbies () const |
Gets a hobbies More... | |
void | set_Hobbies (System::String value) |
Sets a hobbies More... | |
System::String | get_Language () const |
Gets a language More... | |
void | set_Language (System::String value) |
Sets a language More... | |
System::SharedPtr< EmailAddressList > | get_EmailAddresses () const |
Gets list of email addresses More... | |
System::SharedPtr< PostalAddressList > | get_PhysicalAddresses () const |
Gets list of postal addresses More... | |
System::SharedPtr< PhoneNumberList > | get_PhoneNumbers () const |
Gets list of phone numbers More... | |
System::SharedPtr< UrlList > | get_Urls () const |
Gets list of urls More... | |
System::SharedPtr< EventList > | get_Events () const |
Gets list of events More... | |
System::SharedPtr< InstantMessengerList > | get_InstantMessengers () const |
Gets list of instant messenger addresses More... | |
System::SharedPtr< AssociatedPersonsList > | get_AssociatedPersons () const |
Gets list of associated persons More... | |
System::SharedPtr< AttachmentCollection > | get_Attachments () const |
Gets attachments collection More... | |
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... | |
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... | |
void | Save (System::String filePath) |
Saves this MapiContact to the vCard file with a default options. The supported vCard version is 2.1 More... | |
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... | |
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... | |
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... | |
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... | |
Contact () | |
System::String | ToString () const override |
Returns a string that represents the current object. More... | |
Static Public Member Functions | |
static System::SharedPtr< Aspose::Email::Mapi::MapiContact > | to_MapiContact (System::SharedPtr< Contact > contact) |
static System::SharedPtr< Contact > | to_Contact (System::SharedPtr< Aspose::Email::Mapi::MapiContact > contact) |
static System::SharedPtr< Contact > | Load (System::String filePath) |
Loads contact data More... | |
static System::SharedPtr< Contact > | Load (System::String filePath, ContactLoadFormat format) |
Loads contact data More... | |
static System::SharedPtr< Contact > | Load (System::SharedPtr< System::IO::Stream > stream) |
Loads contact data More... | |
static System::SharedPtr< Contact > | Load (System::SharedPtr< System::IO::Stream > stream, ContactLoadFormat format) |
Loads contact data More... | |
static System::ArrayPtr< System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Email::Clients::Exchange::Dav::ExchangeStoreProperty > > > > | parseContacts (System::SharedPtr< System::IO::Stream > xmlStream) |
Protected Member Functions | |
virtual | ~Contact () |
Friends | |
class | Aspose::Email::Clients::Exchange::WebService::ContactEwsConverter |
class | Aspose::Email::Tools::ContactConverter |
class | Aspose::Email::Clients::Exchange::Dav::ExchangeClient |
Represents contact information.
Aspose::Email::PersonalInfo::Contact::Contact | ( | ) |
|
protectedvirtual |
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.
System::SharedPtr<AssociatedPersonsList> Aspose::Email::PersonalInfo::Contact::get_AssociatedPersons | ( | ) | const |
Gets list of associated persons
System::SharedPtr<AttachmentCollection> Aspose::Email::PersonalInfo::Contact::get_Attachments | ( | ) | const |
Gets attachments collection
System::String Aspose::Email::PersonalInfo::Contact::get_CompanyName | ( | ) | const |
Gets a company name.
System::String Aspose::Email::PersonalInfo::Contact::get_ComputerNetworkName | ( | ) | const |
Gets a name of the mail user's computer network.
System::String Aspose::Email::PersonalInfo::Contact::get_CustomerId | ( | ) | const |
Gets a customer id
System::String Aspose::Email::PersonalInfo::Contact::get_DepartmentName | ( | ) | const |
Gets a department name.
System::String Aspose::Email::PersonalInfo::Contact::get_DisplayName | ( | ) | const |
Gets a display name
System::SharedPtr<EmailAddressList> Aspose::Email::PersonalInfo::Contact::get_EmailAddresses | ( | ) | const |
Gets list of email addresses
System::SharedPtr<EventList> Aspose::Email::PersonalInfo::Contact::get_Events | ( | ) | const |
Gets list of events
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
System::String Aspose::Email::PersonalInfo::Contact::get_FileAs | ( | ) | const |
Gets a name used for sorting.
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.
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
Aspose::Email::PersonalInfo::Gender Aspose::Email::PersonalInfo::Contact::get_Gender | ( | ) | const |
Gets gender of a person.
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.
System::String Aspose::Email::PersonalInfo::Contact::get_GovernmentIdNumber | ( | ) | const |
Gets a government id number
System::String Aspose::Email::PersonalInfo::Contact::get_Hobbies | ( | ) | const |
Gets a hobbies
System::SharedPtr<ObjectIdentifier> Aspose::Email::PersonalInfo::Contact::get_Id | ( | ) | const |
Gets object identification information
System::String Aspose::Email::PersonalInfo::Contact::get_Initials | ( | ) | const |
Gets an initials
System::SharedPtr<InstantMessengerList> Aspose::Email::PersonalInfo::Contact::get_InstantMessengers | ( | ) | const |
Gets list of instant messenger addresses
System::String Aspose::Email::PersonalInfo::Contact::get_JobTitle | ( | ) | const |
Gets a job title.
System::String Aspose::Email::PersonalInfo::Contact::get_Language | ( | ) | const |
Gets a language
System::String Aspose::Email::PersonalInfo::Contact::get_Location | ( | ) | const |
Gets location
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.
System::String Aspose::Email::PersonalInfo::Contact::get_Nickname | ( | ) | const |
Gets a nickname of a person.
System::String Aspose::Email::PersonalInfo::Contact::get_Notes | ( | ) | const |
Gets a notes
TextFormat Aspose::Email::PersonalInfo::Contact::get_NotesFormat | ( | ) | const |
Gets a format of a notes field.
System::String Aspose::Email::PersonalInfo::Contact::get_OfficeLocation | ( | ) | const |
Gets office location
System::String Aspose::Email::PersonalInfo::Contact::get_OrganizationalIdNumber | ( | ) | const |
Contains an identifier for the mail user used within the mail user's organization.
System::SharedPtr<PhoneNumberList> Aspose::Email::PersonalInfo::Contact::get_PhoneNumbers | ( | ) | const |
Gets list of phone numbers
System::SharedPtr<ContactPhoto> Aspose::Email::PersonalInfo::Contact::get_Photo | ( | ) | const |
Gets an image of contact
System::SharedPtr<PostalAddressList> Aspose::Email::PersonalInfo::Contact::get_PhysicalAddresses | ( | ) | const |
Gets list of postal addresses
|
overridevirtual |
Gets preferred encoding for all text properties
Implements Aspose::Email::IPreferredTextEncodingProvider.
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.
System::String Aspose::Email::PersonalInfo::Contact::get_Profession | ( | ) | const |
Gets a job position of a person in a company.
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.
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.
System::SharedPtr<UrlList> Aspose::Email::PersonalInfo::Contact::get_Urls | ( | ) | const |
Gets list of urls
|
static |
Loads contact data
stream | Contact stream |
|
static |
Loads contact data
stream | Contact stream |
format | Represents contact format |
|
static |
Loads contact data
filePath | file path |
|
static |
Loads contact data
filePath | file path |
format | Represents contact format |
|
static |
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
stream | A stream to save to |
ArgumentNullException | stream is null |
NotSupportedException | stream does not support writing |
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.
stream | A stream to save to |
saveFormat | A save format |
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.
stream | A stream to save to |
saveOptions | A save options |
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
filePath | A vCard file name |
ArgumentException | filePath is null or empty |
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.
filePath | A vCard file name |
saveFormat | A save format |
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
filePath | A vCard file name |
saveOptions | A save options |
ArgumentException | filePath is null or empty |
ArgumentNullException | saveOptions is null |
NotSupportedException | some save option is not supported |
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.
void Aspose::Email::PersonalInfo::Contact::set_CompanyName | ( | System::String | value | ) |
Sets a company name.
void Aspose::Email::PersonalInfo::Contact::set_ComputerNetworkName | ( | System::String | value | ) |
Sets a name of the mail user's computer network.
void Aspose::Email::PersonalInfo::Contact::set_CustomerId | ( | System::String | value | ) |
Sets a customer id
void Aspose::Email::PersonalInfo::Contact::set_DepartmentName | ( | System::String | value | ) |
Sets a department name.
void Aspose::Email::PersonalInfo::Contact::set_DisplayName | ( | System::String | value | ) |
Sets a display name
void Aspose::Email::PersonalInfo::Contact::set_FileAs | ( | System::String | value | ) |
Sets a name used for sorting.
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.
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
void Aspose::Email::PersonalInfo::Contact::set_Gender | ( | Aspose::Email::PersonalInfo::Gender | value | ) |
Sets gender of a person.
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.
void Aspose::Email::PersonalInfo::Contact::set_GovernmentIdNumber | ( | System::String | value | ) |
Sets a government id number
void Aspose::Email::PersonalInfo::Contact::set_Hobbies | ( | System::String | value | ) |
Sets a hobbies
void Aspose::Email::PersonalInfo::Contact::set_Initials | ( | System::String | value | ) |
Sets an initials
void Aspose::Email::PersonalInfo::Contact::set_JobTitle | ( | System::String | value | ) |
Sets a job title.
void Aspose::Email::PersonalInfo::Contact::set_Language | ( | System::String | value | ) |
Sets a language
void Aspose::Email::PersonalInfo::Contact::set_Location | ( | System::String | value | ) |
Sets location
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.
void Aspose::Email::PersonalInfo::Contact::set_Nickname | ( | System::String | value | ) |
Sets a nickname of a person.
void Aspose::Email::PersonalInfo::Contact::set_Notes | ( | System::String | value | ) |
Sets a notes
void Aspose::Email::PersonalInfo::Contact::set_NotesFormat | ( | TextFormat | value | ) |
Sets a format of a notes field.
void Aspose::Email::PersonalInfo::Contact::set_OfficeLocation | ( | System::String | value | ) |
Sets office location
void Aspose::Email::PersonalInfo::Contact::set_OrganizationalIdNumber | ( | System::String | value | ) |
Contains an identifier for the mail user used within the mail user's organization.
void Aspose::Email::PersonalInfo::Contact::set_Photo | ( | System::SharedPtr< ContactPhoto > | value | ) |
Sets an image of contact
|
overridevirtual |
Sets preferred encoding for all text properties
Implements Aspose::Email::IPreferredTextEncodingProvider.
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.
void Aspose::Email::PersonalInfo::Contact::set_Profession | ( | System::String | value | ) |
Sets a job position of a person in a company.
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.
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.
|
static |
|
static |
|
override |
Returns a string that represents the current object.
|
friend |
|
friend |
|
friend |