Aspose::Email::Mapi::Msg::MessageObjectPropertiesCollection Class Referencefinal

Represents a keyed collection for MessageObjectProperty objects. More...

Inherits KeyedCollection< int64_t, System::SharedPtr< Aspose::Email::Mapi::Msg::MessageObjectProperty > >.

Public Member Functions

System::SharedPtr< MessageObjectPropertyTryGetValue (int64_t propertyTag)
 Tries to get value, by specified key. More...
 
void SetTemplateWeakPtr (uint32_t argument) override
 

Protected Member Functions

int64_t GetKeyForItem (System::SharedPtr< MessageObjectProperty > item) override
 When implemented in a derived class, extracts the key from the specified element. More...
 
virtual ~MessageObjectPropertiesCollection ()
 

Detailed Description

Represents a keyed collection for MessageObjectProperty objects.

Constructor & Destructor Documentation

◆ ~MessageObjectPropertiesCollection()

virtual Aspose::Email::Mapi::Msg::MessageObjectPropertiesCollection::~MessageObjectPropertiesCollection ( )
protectedvirtual

Member Function Documentation

◆ GetKeyForItem()

int64_t Aspose::Email::Mapi::Msg::MessageObjectPropertiesCollection::GetKeyForItem ( System::SharedPtr< MessageObjectProperty item)
overrideprotected

When implemented in a derived class, extracts the key from the specified element.

Parameters
itemThe element from which to extract the key.
Returns
The key for the specified element.

◆ SetTemplateWeakPtr()

void Aspose::Email::Mapi::Msg::MessageObjectPropertiesCollection::SetTemplateWeakPtr ( uint32_t  argument)
override

◆ TryGetValue()

System::SharedPtr<MessageObjectProperty> Aspose::Email::Mapi::Msg::MessageObjectPropertiesCollection::TryGetValue ( int64_t  propertyTag)

Tries to get value, by specified key.

Parameters
propertyTagThe property tag.
Returns
MessageObjectProperty object if operation succeeds, otherwise null.