List of email addresses for a contact More...
Inherits System::Collections::Generic::IList< System::SharedPtr< Aspose::Email::PersonalInfo::EmailAddress > >.
Public Member Functions | |
System::SharedPtr< EmailAddress > | get_Work () |
Default work email address. More... | |
void | set_Work (System::SharedPtr< EmailAddress > value) |
Default work email address. More... | |
System::SharedPtr< EmailAddress > | get_Home () |
Default home email address. More... | |
void | set_Home (System::SharedPtr< EmailAddress > value) |
Default home email address. More... | |
System::SharedPtr< EmailAddress > | get_Email1 () |
Default email1 address. More... | |
void | set_Email1 (System::SharedPtr< EmailAddress > value) |
Default email1 address. More... | |
System::SharedPtr< EmailAddress > | get_Email2 () |
Default email2 address. More... | |
void | set_Email2 (System::SharedPtr< EmailAddress > value) |
Default email2 address. More... | |
System::SharedPtr< EmailAddress > | get_Email3 () |
Default email3 address. More... | |
void | set_Email3 (System::SharedPtr< EmailAddress > value) |
Default email3 address. More... | |
System::SharedPtr< EmailAddress > | get_Email () |
Default email3 address. More... | |
void | set_Email (System::SharedPtr< EmailAddress > value) |
Default email3 address. More... | |
bool | get_IsReadOnly () const override |
Gets a value indicating whether the list is read-only. More... | |
int32_t | get_Count () const override |
Gets the number of elements contained in the T:System::Collections::ICollection. More... | |
System::SharedPtr< System::Object > | get_SyncRoot () const |
Gets an object that can be used to synchronize access to the T:System::Collections::ICollection. More... | |
EmailAddressList () | |
System::SharedPtr< EmailAddress > | idx_get (System::SharedPtr< EmailAddressCategory > category) |
Default email address for specified category. More... | |
void | idx_set (System::SharedPtr< EmailAddressCategory > category, System::SharedPtr< EmailAddress > value) |
Default email address for specified category. More... | |
void | Add (const System::SharedPtr< EmailAddress > &value) override |
Adds an item to the list. More... | |
void | Insert (int32_t index, const System::SharedPtr< EmailAddress > &value) override |
Inserts an item to the list at the specified index. More... | |
System::SharedPtr< EmailAddress > | idx_get (int32_t index) const override |
Gets the element at the specified index. More... | |
void | idx_set (int32_t index, System::SharedPtr< EmailAddress > value) override |
Sets the element at the specified index. More... | |
bool | Contains (const System::SharedPtr< EmailAddress > &value) const override |
Determines whether the list contains a specific value. More... | |
void | Clear () override |
Removes all items from the list. More... | |
int32_t | IndexOf (const System::SharedPtr< EmailAddress > &value) const override |
Determines the index of a specific item in the list. More... | |
bool | Remove (const System::SharedPtr< EmailAddress > &value) override |
Removes the first occurrence of a specific object from the list. More... | |
void | RemoveAt (int32_t index) override |
Removes the list item at the specified index. More... | |
void | CopyTo (System::ArrayPtr< System::SharedPtr< EmailAddress >> array, int32_t index) override |
Copies the elements to an array, starting at a particular array index. More... | |
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< EmailAddress > > > | GetEnumerator () override |
Returns an enumerator that iterates through a collection. More... | |
Protected Member Functions | |
virtual | ~EmailAddressList () |
List of email addresses for a contact
Aspose::Email::PersonalInfo::EmailAddressList::EmailAddressList | ( | ) |
|
protectedvirtual |
|
override |
Adds an item to the list.
value | The T:System::Object to add to the list. |
|
override |
Removes all items from the list.
|
override |
Determines whether the list contains a specific value.
value | The object to locate in the list. |
|
override |
Copies the elements to an array, starting at a particular array index.
array | The one-dimensional array that is the destination of the elements copied from collections. The array must have zero-based indexing. |
index | The zero-based index in array at which copying begins. |
|
override |
Gets the number of elements contained in the T:System::Collections::ICollection.
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::get_Email | ( | ) |
Default email3 address.
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::get_Email1 | ( | ) |
Default email1 address.
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::get_Email2 | ( | ) |
Default email2 address.
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::get_Email3 | ( | ) |
Default email3 address.
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::get_Home | ( | ) |
Default home email address.
|
override |
Gets a value indicating whether the list is read-only.
System::SharedPtr<System::Object> Aspose::Email::PersonalInfo::EmailAddressList::get_SyncRoot | ( | ) | const |
Gets an object that can be used to synchronize access to the T:System::Collections::ICollection.
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::get_Work | ( | ) |
Default work email address.
|
override |
Returns an enumerator that iterates through a collection.
|
override |
Gets the element at the specified index.
index | The zero-based index of the element to get or set. |
System::SharedPtr<EmailAddress> Aspose::Email::PersonalInfo::EmailAddressList::idx_get | ( | System::SharedPtr< EmailAddressCategory > | category | ) |
Default email address for specified category.
category | Category for email address |
|
override |
Sets the element at the specified index.
index | The zero-based index of the element to get or set. |
value | The element at the specified index. |
void Aspose::Email::PersonalInfo::EmailAddressList::idx_set | ( | System::SharedPtr< EmailAddressCategory > | category, |
System::SharedPtr< EmailAddress > | value | ||
) |
Default email address for specified category.
category | Category for email address |
value | default email address for specified category. |
|
override |
Determines the index of a specific item in the list.
value | The T:System::Object to locate in the list. |
|
override |
Inserts an item to the list at the specified index.
index | The zero-based index at which value should be inserted. |
value | The T:System::Object to insert into the list. |
|
override |
Removes the first occurrence of a specific object from the list.
value | The T:System::Object to remove from the list. |
|
override |
Removes the list item at the specified index.
index | The zero-based index of the item to remove. |
void Aspose::Email::PersonalInfo::EmailAddressList::set_Email | ( | System::SharedPtr< EmailAddress > | value | ) |
Default email3 address.
void Aspose::Email::PersonalInfo::EmailAddressList::set_Email1 | ( | System::SharedPtr< EmailAddress > | value | ) |
Default email1 address.
void Aspose::Email::PersonalInfo::EmailAddressList::set_Email2 | ( | System::SharedPtr< EmailAddress > | value | ) |
Default email2 address.
void Aspose::Email::PersonalInfo::EmailAddressList::set_Email3 | ( | System::SharedPtr< EmailAddress > | value | ) |
Default email3 address.
void Aspose::Email::PersonalInfo::EmailAddressList::set_Home | ( | System::SharedPtr< EmailAddress > | value | ) |
Default home email address.
void Aspose::Email::PersonalInfo::EmailAddressList::set_Work | ( | System::SharedPtr< EmailAddress > | value | ) |
Default work email address.