List of postal addresses for a contact. More...
Inherits System::Collections::Generic::IList< System::SharedPtr< Aspose::Email::PersonalInfo::PostalAddress > >.
Public Member Functions | |
System::SharedPtr< PostalAddress > | get_WorkAddress () |
Default work address More... | |
void | set_WorkAddress (System::SharedPtr< PostalAddress > value) |
Default work address More... | |
System::SharedPtr< PostalAddress > | get_OtherAddress () |
Default other address More... | |
void | set_OtherAddress (System::SharedPtr< PostalAddress > value) |
Default other address More... | |
System::SharedPtr< PostalAddress > | get_HomeAddress () |
Default home address More... | |
void | set_HomeAddress (System::SharedPtr< PostalAddress > value) |
Default home 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... | |
void | Add (const System::SharedPtr< PostalAddress > &value) override |
Adds an item to the list. More... | |
void | Insert (int32_t index, const System::SharedPtr< PostalAddress > &value) override |
Inserts an item to the list at the specified index. More... | |
System::SharedPtr< PostalAddress > | idx_get (int32_t index) const override |
Gets the element at the specified index. More... | |
void | idx_set (int32_t index, System::SharedPtr< PostalAddress > value) override |
Sets the element at the specified index. More... | |
bool | Contains (const System::SharedPtr< PostalAddress > &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< PostalAddress > &value) const override |
Determines the index of a specific item in the list. More... | |
bool | Remove (const System::SharedPtr< PostalAddress > &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< PostalAddress >> 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< PostalAddress > > > | GetEnumerator () override |
Returns an enumerator that iterates through a collection. More... | |
PostalAddressList () | |
Protected Member Functions | |
virtual | ~PostalAddressList () |
List of postal addresses for a contact.
Aspose::Email::PersonalInfo::PostalAddressList::PostalAddressList | ( | ) |
|
protectedvirtual |
|
override |
Adds an item to the list.
value | The 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<PostalAddress> Aspose::Email::PersonalInfo::PostalAddressList::get_HomeAddress | ( | ) |
Default home address
|
override |
Gets a value indicating whether the list is read-only.
System::SharedPtr<PostalAddress> Aspose::Email::PersonalInfo::PostalAddressList::get_OtherAddress | ( | ) |
Default other address
System::SharedPtr<PostalAddress> Aspose::Email::PersonalInfo::PostalAddressList::get_WorkAddress | ( | ) |
Default work 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. |
|
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. |
|
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::PostalAddressList::set_HomeAddress | ( | System::SharedPtr< PostalAddress > | value | ) |
Default home address
void Aspose::Email::PersonalInfo::PostalAddressList::set_OtherAddress | ( | System::SharedPtr< PostalAddress > | value | ) |
Default other address
void Aspose::Email::PersonalInfo::PostalAddressList::set_WorkAddress | ( | System::SharedPtr< PostalAddress > | value | ) |
Default work address