Represents a collection of MailAddress objects.
More...
Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::MailAddress > >.
Represents a collection of MailAddress objects.
◆ MailAddressCollection()
Aspose::Email::MailAddressCollection::MailAddressCollection |
( |
| ) |
|
◆ ~MailAddressCollection()
virtual Aspose::Email::MailAddressCollection::~MailAddressCollection |
( |
| ) |
|
|
protectedvirtual |
◆ Add() [1/3]
void Aspose::Email::MailAddressCollection::Add |
( |
const System::SharedPtr< MailAddress > & |
address | ) |
|
|
override |
◆ Add() [2/3]
void Aspose::Email::MailAddressCollection::Add |
( |
const System::String & |
addresses | ) |
|
Add a list of e-mail addresses to the collection.
- Parameters
-
addresses | An address list. Addresses must be separated with a comma character. |
◆ Add() [3/3]
void Aspose::Email::MailAddressCollection::Add |
( |
System::String |
addresses, |
|
|
bool |
checkAddresses |
|
) |
| |
Adds addresses to collection and optionally verifies these addresses
- Parameters
-
addresses | An addresses to be added |
checkAddresses | Indicates whether the addreses should be checked |
◆ AddRange() [1/2]
void Aspose::Email::MailAddressCollection::AddRange |
( |
System::SharedPtr< MailAddressCollection > |
addresses | ) |
|
Adds addresses to collection
- Parameters
-
addresses | Collection of mail addresses |
◆ AddRange() [2/2]
void Aspose::Email::MailAddressCollection::AddRange |
( |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailAddress >>> |
addresses | ) |
|
Adds addresses to collection
- Parameters
-
addresses | Enumeration of mail addresses |
◆ ClearItems()
void Aspose::Email::MailAddressCollection::ClearItems |
( |
| ) |
|
|
overrideprotected |
Removes all elements from the System.Collections.ObjectModel.Collection`1.
◆ Clone()
◆ CollectionChanged_add()
template<class... Args>
void Aspose::Email::MailAddressCollection::CollectionChanged_add |
( |
const Args &... |
value | ) |
|
|
inline |
◆ CollectionChanged_remove()
template<class... Args>
void Aspose::Email::MailAddressCollection::CollectionChanged_remove |
( |
const Args &... |
value | ) |
|
|
inline |
◆ Copy()
Copies this instance.
- Returns
◆ InsertItem()
void Aspose::Email::MailAddressCollection::InsertItem |
( |
int32_t |
index, |
|
|
const System::SharedPtr< MailAddress > & |
item |
|
) |
| |
|
overrideprotected |
Inserts an element into the T:System::Collections::ObjectModel::Collection`1 at the specified index.
- Parameters
-
index | The zero-based index at which item should be inserted. |
item | The object to insert. The value can be null for reference types. |
- Exceptions
-
◆ ParseValue() [1/3]
void Aspose::Email::MailAddressCollection::ParseValue |
( |
System::ArrayPtr< System::String > |
addresses | ) |
|
◆ ParseValue() [2/3]
void Aspose::Email::MailAddressCollection::ParseValue |
( |
System::String |
addresses | ) |
|
◆ ParseValue() [3/3]
void Aspose::Email::MailAddressCollection::ParseValue |
( |
System::String |
addresses, |
|
|
bool |
checkAddresses |
|
) |
| |
Parses the addresses and optionally checks parsed addresses
- Parameters
-
addresses | An addresses to add |
checkAddresses | Indicates whether the addresses should be checked |
◆ RemoveItem()
void Aspose::Email::MailAddressCollection::RemoveItem |
( |
int32_t |
index | ) |
|
|
overrideprotected |
Removes the element at the specified index of the System.Collections.ObjectModel.Collection`1.
- Parameters
-
index | The zero-based index of the element to remove. |
◆ SetEncoding()
void Aspose::Email::MailAddressCollection::SetEncoding |
( |
System::SharedPtr< System::Text::Encoding > |
displayNameEnc | ) |
|
Sets encoding for all collection items
- Parameters
-
◆ SetItem()
void Aspose::Email::MailAddressCollection::SetItem |
( |
int32_t |
index, |
|
|
const System::SharedPtr< MailAddress > & |
item |
|
) |
| |
|
overrideprotected |
Replaces the element at the specified index.
- Parameters
-
index | The zero-based index of the element to replace. |
item | The new value for the element at the specified index. The value can be null for reference types. |
- Exceptions
-
◆ SetTemplateWeakPtr()
void Aspose::Email::MailAddressCollection::SetTemplateWeakPtr |
( |
uint32_t |
argument | ) |
|
|
override |
◆ to_MailAddressCollection() [1/2]
◆ to_MailAddressCollection() [2/2]
static System::SharedPtr<MailAddressCollection> Aspose::Email::MailAddressCollection::to_MailAddressCollection |
( |
System::String |
addresses | ) |
|
|
static |
◆ ToAddressString()
System::String Aspose::Email::MailAddressCollection::ToAddressString |
( |
| ) |
|
◆ ToEncodedString()
System::String Aspose::Email::MailAddressCollection::ToEncodedString |
( |
| ) |
|
◆ ToOneAddressString()
System::String Aspose::Email::MailAddressCollection::ToOneAddressString |
( |
| ) |
|
◆ ToString()
System::String Aspose::Email::MailAddressCollection::ToString |
( |
| ) |
const |
|
override |
◆ Aspose::Email::Clients::Exchange::WebService::Implementation::Messages::Fetch::Helpers::ParsedExtendedProperties
friend class Aspose::Email::Clients::Exchange::WebService::Implementation::Messages::Fetch::Helpers::ParsedExtendedProperties |
|
friend |
◆ Aspose::Email::Clients::Exchange::WebService::MessageTrackingReport
◆ Aspose::Email::Clients::Exchange::WebService::MessageTrackingReportInfo
◆ Aspose::Email::Clients::Graph::V1::Model::TLMailMessage
friend class Aspose::Email::Clients::Graph::V1::Model::TLMailMessage |
|
friend |
◆ Aspose::Email::MailMessage
◆ Aspose::Email::Mime::HeaderCollection
◆ Aspose::Email::Mime::HeaderValueFactory
friend class Aspose::Email::Mime::HeaderValueFactory |
|
friend |
◆ Aspose::Email::Tools::ContactConverter
friend class Aspose::Email::Tools::ContactConverter |
|
friend |
◆ Aspose::Email::Tools::ResponseMessageBuilder