Represents a vCard contact More...
Inherits Object.
Public Member Functions | |
System::SharedPtr< VCardIdentificationInfo > | get_IdentificationInfo () const |
Gets an identification properties More... | |
void | set_IdentificationInfo (System::SharedPtr< VCardIdentificationInfo > value) |
Sets an identification properties More... | |
System::SharedPtr< VCardDeliveryAddressCollection > | get_DeliveryAddresses () const |
Gets a delivery addresses More... | |
void | set_DeliveryAddresses (System::SharedPtr< VCardDeliveryAddressCollection > value) |
Sets a delivery addresses More... | |
System::SharedPtr< VCardLabelCollection > | get_Labels () const |
Gets a delivery addresses More... | |
void | set_Labels (System::SharedPtr< VCardLabelCollection > value) |
Sets a delivery addresses More... | |
System::SharedPtr< VCardTelephoneNumberCollection > | get_TelephoneNumbers () const |
Gets a contact's telephone numbers More... | |
void | set_TelephoneNumbers (System::SharedPtr< VCardTelephoneNumberCollection > value) |
Sets a contact's telephone numbers More... | |
System::SharedPtr< VCardEmailCollection > | get_Emails () const |
Gets a contact's email addresses More... | |
void | set_Emails (System::SharedPtr< VCardEmailCollection > value) |
Sets a contact's email addresses More... | |
System::String | get_Mailer () const |
Gets a mailer More... | |
void | set_Mailer (System::String value) |
Sets a mailer More... | |
System::String | get_TimeZone () const |
Gets a timeZone More... | |
void | set_TimeZone (System::String value) |
Sets a timeZone More... | |
System::SharedPtr< VCardGeo > | get_Geo () const |
Gets a global positioning More... | |
void | set_Geo (System::SharedPtr< VCardGeo > value) |
Sets a global positioning More... | |
System::SharedPtr< VCardOrganization > | get_Organization () const |
Gets an organization information More... | |
void | set_Organization (System::SharedPtr< VCardOrganization > value) |
Sets an organization information More... | |
System::SharedPtr< VCardExplanatoryInfo > | get_ExplanatoryInfo () const |
Gets a vCard explanatory information More... | |
void | set_ExplanatoryInfo (System::SharedPtr< VCardExplanatoryInfo > value) |
Sets a vCard explanatory information More... | |
System::SharedPtr< VCardSecurity > | get_Security () const |
Gets a security properites More... | |
void | set_Security (System::SharedPtr< VCardSecurity > value) |
Sets a security properites More... | |
System::SharedPtr< System::Collections::Specialized::StringCollection > | get_ExtendedProperties () const |
Gets an extended properties More... | |
void | set_ExtendedProperties (System::SharedPtr< System::Collections::Specialized::StringCollection > value) |
Sets an extended properties More... | |
VCardContact () | |
Initializes a new instance of the VCardContact class More... | |
VCardContact (System::SharedPtr< VCardHeaderList > properties) | |
Initializes a new instance of the VCardContact class 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, 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::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::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::SharedPtr< System::IO::Stream > stream, Aspose::Email::Mapi::ContactSaveFormat saveFormat) |
Saves this MapiContact to the given stream with a format using the default options. The supported save format is vCard More... | |
void | Save (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Aspose::Email::Mapi::ContactSaveOptions > saveOptions) |
Saves this MapiContact to the given stream using specified save options. The supported save options is VCardSaveOptions More... | |
Static Public Member Functions | |
static System::SharedPtr< VCardContact > | Load (System::String filePath) |
Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0 More... | |
static System::SharedPtr< VCardContact > | Load (System::String filePath, System::SharedPtr< System::Text::Encoding > encoding) |
Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0 More... | |
static System::SharedPtr< VCardContact > | Load (System::SharedPtr< System::IO::Stream > stream) |
Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0 More... | |
static System::SharedPtr< VCardContact > | Load (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< System::Text::Encoding > encoding) |
Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0 More... | |
static bool | IsMultiContacts (System::String filePath) |
Checks whether source file contains multi contacts. More... | |
static bool | IsMultiContacts (System::SharedPtr< System::IO::Stream > stream) |
Checks whether source stream contains multi contacts. More... | |
static System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< VCardContact > > > | LoadAsMultiple (System::SharedPtr< System::IO::Stream > stream) |
Loads list of contacts from multi contact stream. More... | |
static System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< VCardContact > > > | LoadAsMultiple (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< System::Text::Encoding > encoding) |
Loads list of contacts from multi contact stream. More... | |
static System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< VCardContact > > > | LoadAsMultiple (System::String filePath) |
Loads list of contacts from multi contact file. More... | |
static System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< VCardContact > > > | LoadAsMultiple (System::String filePath, System::SharedPtr< System::Text::Encoding > encoding) |
Loads list of contacts from multi contact file. More... | |
Friends | |
class | Aspose::Email::PersonalInfo::VCard::VCardAgent |
Represents a vCard contact
Aspose::Email::PersonalInfo::VCard::VCardContact::VCardContact | ( | ) |
Initializes a new instance of the VCardContact class
Aspose::Email::PersonalInfo::VCard::VCardContact::VCardContact | ( | System::SharedPtr< VCardHeaderList > | properties | ) |
Initializes a new instance of the VCardContact class
properties | A vCard properties. Used properties are removed |
ArgumentNullException | properties is null |
System::SharedPtr<VCardDeliveryAddressCollection> Aspose::Email::PersonalInfo::VCard::VCardContact::get_DeliveryAddresses | ( | ) | const |
Gets a delivery addresses
System::SharedPtr<VCardEmailCollection> Aspose::Email::PersonalInfo::VCard::VCardContact::get_Emails | ( | ) | const |
Gets a contact's email addresses
System::SharedPtr<VCardExplanatoryInfo> Aspose::Email::PersonalInfo::VCard::VCardContact::get_ExplanatoryInfo | ( | ) | const |
Gets a vCard explanatory information
System::SharedPtr<System::Collections::Specialized::StringCollection> Aspose::Email::PersonalInfo::VCard::VCardContact::get_ExtendedProperties | ( | ) | const |
Gets an extended properties
System::SharedPtr<VCardGeo> Aspose::Email::PersonalInfo::VCard::VCardContact::get_Geo | ( | ) | const |
Gets a global positioning
System::SharedPtr<VCardIdentificationInfo> Aspose::Email::PersonalInfo::VCard::VCardContact::get_IdentificationInfo | ( | ) | const |
Gets an identification properties
System::SharedPtr<VCardLabelCollection> Aspose::Email::PersonalInfo::VCard::VCardContact::get_Labels | ( | ) | const |
Gets a delivery addresses
System::String Aspose::Email::PersonalInfo::VCard::VCardContact::get_Mailer | ( | ) | const |
Gets a mailer
System::SharedPtr<VCardOrganization> Aspose::Email::PersonalInfo::VCard::VCardContact::get_Organization | ( | ) | const |
Gets an organization information
System::SharedPtr<VCardSecurity> Aspose::Email::PersonalInfo::VCard::VCardContact::get_Security | ( | ) | const |
Gets a security properites
System::SharedPtr<VCardTelephoneNumberCollection> Aspose::Email::PersonalInfo::VCard::VCardContact::get_TelephoneNumbers | ( | ) | const |
Gets a contact's telephone numbers
System::String Aspose::Email::PersonalInfo::VCard::VCardContact::get_TimeZone | ( | ) | const |
Gets a timeZone
|
static |
Checks whether source stream contains multi contacts.
stream | Source stream |
|
static |
Checks whether source file contains multi contacts.
filePath | Path to source file |
|
static |
Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
stream | A stream to read from |
ArgumentNullException | stream is null |
NotSupportedException | stream does not support reading |
|
static |
Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
stream | A stream to read from |
encoding | Stream data encoding |
ArgumentNullException | stream is null |
NotSupportedException | stream does not support reading |
|
static |
Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
filePath | A file name to read from |
ArgumentException | filePath is null or empty |
|
static |
Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
filePath | A file name to read from |
encoding | File encoding |
ArgumentException | filePath is null or empty |
|
static |
Loads list of contacts from multi contact stream.
stream | Source stream |
|
static |
Loads list of contacts from multi contact stream.
stream | Source stream |
encoding | Stream data encoding,if null then UTF8 will be used. |
|
static |
Loads list of contacts from multi contact file.
filePath | Source file |
|
static |
Loads list of contacts from multi contact file.
filePath | Source file |
encoding | File data encoding,if null then UTF8 will be used. |
void Aspose::Email::PersonalInfo::VCard::VCardContact::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::VCard::VCardContact::Save | ( | System::SharedPtr< System::IO::Stream > | stream, |
Aspose::Email::Mapi::ContactSaveFormat | saveFormat | ||
) |
Saves this MapiContact to the given stream with a format using the default options. The supported save format is vCard
stream | A stream to save to |
saveFormat | A save format |
ArgumentNullException | stream is null |
NotSupportedException | stream does not support writing |
NotSupportedException | The specified format is not supported |
void Aspose::Email::PersonalInfo::VCard::VCardContact::Save | ( | System::SharedPtr< System::IO::Stream > | stream, |
System::SharedPtr< Aspose::Email::Mapi::ContactSaveOptions > | saveOptions | ||
) |
Saves this MapiContact to the given stream using specified save options. The supported save options is VCardSaveOptions
stream | A stream to save to |
saveOptions | A save options |
ArgumentNullException | stream or saveOptions is null |
NotSupportedException | stream does not support writing |
ArgumentException | incorrect saveOptions |
NotSupportedException | some save option is not supported |
void Aspose::Email::PersonalInfo::VCard::VCardContact::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::VCard::VCardContact::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 |
ArgumentException | filePath is null or empty |
NotSupportedException | the specified format is not supported |
void Aspose::Email::PersonalInfo::VCard::VCardContact::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::VCard::VCardContact::set_DeliveryAddresses | ( | System::SharedPtr< VCardDeliveryAddressCollection > | value | ) |
Sets a delivery addresses
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_Emails | ( | System::SharedPtr< VCardEmailCollection > | value | ) |
Sets a contact's email addresses
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_ExplanatoryInfo | ( | System::SharedPtr< VCardExplanatoryInfo > | value | ) |
Sets a vCard explanatory information
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_ExtendedProperties | ( | System::SharedPtr< System::Collections::Specialized::StringCollection > | value | ) |
Sets an extended properties
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_Geo | ( | System::SharedPtr< VCardGeo > | value | ) |
Sets a global positioning
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_IdentificationInfo | ( | System::SharedPtr< VCardIdentificationInfo > | value | ) |
Sets an identification properties
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_Labels | ( | System::SharedPtr< VCardLabelCollection > | value | ) |
Sets a delivery addresses
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_Mailer | ( | System::String | value | ) |
Sets a mailer
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_Organization | ( | System::SharedPtr< VCardOrganization > | value | ) |
Sets an organization information
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_Security | ( | System::SharedPtr< VCardSecurity > | value | ) |
Sets a security properites
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_TelephoneNumbers | ( | System::SharedPtr< VCardTelephoneNumberCollection > | value | ) |
Sets a contact's telephone numbers
void Aspose::Email::PersonalInfo::VCard::VCardContact::set_TimeZone | ( | System::String | value | ) |
Sets a timeZone
|
friend |