Represents a collection of AlternateView objects.
More...
Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::AlternateView > >, and IDisposable.
Represents a collection of AlternateView objects.
◆ AlternateViewCollection()
Aspose::Email::AlternateViewCollection::AlternateViewCollection |
( |
| ) |
|
◆ ~AlternateViewCollection()
virtual Aspose::Email::AlternateViewCollection::~AlternateViewCollection |
( |
| ) |
|
|
protectedvirtual |
◆ ClearItems()
void Aspose::Email::AlternateViewCollection::ClearItems |
( |
| ) |
|
|
overrideprotected |
◆ ContainsView()
bool Aspose::Email::AlternateViewCollection::ContainsView |
( |
System::String |
mediaType | ) |
|
◆ Dispose()
void Aspose::Email::AlternateViewCollection::Dispose |
( |
| ) |
|
|
override |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
◆ GetView()
System::SharedPtr<AlternateView> Aspose::Email::AlternateViewCollection::GetView |
( |
System::String |
mediaType | ) |
|
◆ InsertItem()
void Aspose::Email::AlternateViewCollection::InsertItem |
( |
int32_t |
index, |
|
|
const System::SharedPtr< AlternateView > & |
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
-
◆ RemoveItem()
void Aspose::Email::AlternateViewCollection::RemoveItem |
( |
int32_t |
index | ) |
|
|
overrideprotected |
◆ SetItem()
void Aspose::Email::AlternateViewCollection::SetItem |
( |
int32_t |
index, |
|
|
const System::SharedPtr< AlternateView > & |
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::AlternateViewCollection::SetTemplateWeakPtr |
( |
uint32_t |
argument | ) |
|
|
override |
◆ Aspose::Email::Amp::AmpMessage
◆ Aspose::Email::MailMessage
◆ Aspose::Email::Storage::Zimbra::TgzReader
◆ AlternateViewAdded
System::EventHandler Aspose::Email::AlternateViewCollection::AlternateViewAdded |
◆ AlternateViewCollectionCleared
System::EventHandler Aspose::Email::AlternateViewCollection::AlternateViewCollectionCleared |
◆ AlternateViewLinkedResourceRemoved
◆ AlternateViewRemoved