Represents the collection of MapiProperty items. More...
Inherits System::Collections::Generic::IDictionary< int64_t, System::SharedPtr< Aspose::Email::Mapi::MapiProperty > >, and Aspose::Email::Mapi::INamedPropertyTagProvider.
Public Member Functions | |
System::ArrayPtr< uint8_t > | get_RtfDecompressed () |
Cache for decompressed rtf More... | |
System::SharedPtr< System::Collections::Generic::ICollection< int64_t > > | get_Keys () const override |
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection. More... | |
System::ArrayPtr< int64_t > | get_KeysCopy () |
System::SharedPtr< System::Collections::Generic::ICollection< System::SharedPtr< MapiProperty > > > | get_Values () const override |
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection. More... | |
int32_t | get_Count () const override |
Gets the number of elements contained in the collection. More... | |
bool | get_IsReadOnly () const override |
Gets a value indicating whether the collection is read only. More... | |
MapiPropertyCollection () | |
Creates a new instance of class MapiProperty. More... | |
System::SharedPtr< MapiProperty > | idx_get (const int64_t &tag) const override |
Gets the value associated with the specified key. More... | |
void | idx_set (const int64_t &tag, System::SharedPtr< MapiProperty > value) override |
Sets the value associated with the specified key. More... | |
System::SharedPtr< MapiProperty > | idx_get (const System::SharedPtr< PropertyDescriptor > &pd) const |
Gets the value associated with the specified key. More... | |
void | idx_set (const System::SharedPtr< PropertyDescriptor > &pd, System::SharedPtr< MapiProperty > value) |
Sets the value associated with the specified key. More... | |
virtual System::SharedPtr< MapiProperty > | GetProperty (System::SharedPtr< PropertyDescriptor > pd) |
Gets MAPI property by property descriptor. More... | |
virtual void | SetProperty (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value) |
Sets MAPI property. More... | |
virtual void | SetProperty (System::SharedPtr< MapiProperty > property) |
Sets the property. More... | |
void | Add (const int64_t &key, const System::SharedPtr< MapiProperty > &value) override |
Adds a MapiProperty item with specified tag. More... | |
virtual void | Add (const System::SharedPtr< MapiProperty > &value) |
Adds a MapiProperty item with specified tag. More... | |
int32_t | GetSize () |
Gets the total size of property values. More... | |
System::SharedPtr< MapiPropertyCollection > | ExtractNamedProperties (System::SharedPtr< MapiNamedPropertyMappingStorage > mappingStorage) |
Extracts the collection of MapiNamedProperties. More... | |
bool | ContainsKey (const int64_t &key) const override |
Determines whether the collection contains a property with the specified tag. More... | |
bool | Remove (const int64_t &key) override |
Removes the property with the specified tag from the collection. More... | |
bool | Remove (const System::SharedPtr< PropertyDescriptor > &pd) |
Removes the property with the specified property descriptor from the collection. More... | |
bool | TryGetValue (const int64_t &key, System::SharedPtr< MapiProperty > &value) const override |
Gets the property associated with the specified tag. More... | |
void | Add (const System::Collections::Generic::KeyValuePair< int64_t, System::SharedPtr< MapiProperty >> &item) override |
void | Clear () override |
Removes all of the elements from the collection. More... | |
bool | Contains (const System::Collections::Generic::KeyValuePair< int64_t, System::SharedPtr< MapiProperty >> &item) const override |
void | CopyTo (System::ArrayPtr< System::Collections::Generic::KeyValuePair< int64_t, System::SharedPtr< MapiProperty >>> array, int32_t arrayIndex) override |
bool | Remove (const System::Collections::Generic::KeyValuePair< int64_t, System::SharedPtr< MapiProperty >> &item) override |
System::SharedPtr< System::Collections::Generic::IEnumerator< System::Collections::Generic::KeyValuePair< int64_t, System::SharedPtr< MapiProperty > > > > | GetEnumerator () override |
void | DeepCopyTo (System::SharedPtr< MapiPropertyCollection > dest) |
Protected Member Functions | |
virtual | ~MapiPropertyCollection () |
Represents the collection of MapiProperty items.
Aspose::Email::Mapi::MapiPropertyCollection::MapiPropertyCollection | ( | ) |
Creates a new instance of class MapiProperty.
|
protectedvirtual |
|
override |
Adds a MapiProperty item with specified tag.
key | The property tag. |
value | The property value. |
|
override |
|
virtual |
Adds a MapiProperty item with specified tag.
value | The property value. |
|
override |
Removes all of the elements from the collection.
|
override |
|
override |
Determines whether the collection contains a property with the specified tag.
key | The property tag. |
|
override |
void Aspose::Email::Mapi::MapiPropertyCollection::DeepCopyTo | ( | System::SharedPtr< MapiPropertyCollection > | dest | ) |
System::SharedPtr<MapiPropertyCollection> Aspose::Email::Mapi::MapiPropertyCollection::ExtractNamedProperties | ( | System::SharedPtr< MapiNamedPropertyMappingStorage > | mappingStorage | ) |
Extracts the collection of MapiNamedProperties.
mappingStorage | The mapping storage. |
|
override |
Gets the number of elements contained in the collection.
|
override |
Gets a value indicating whether the collection is read only.
|
override |
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.
System::ArrayPtr<int64_t> Aspose::Email::Mapi::MapiPropertyCollection::get_KeysCopy | ( | ) |
System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiPropertyCollection::get_RtfDecompressed | ( | ) |
Cache for decompressed rtf
|
override |
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.
|
override |
|
virtual |
Gets MAPI property by property descriptor.
pd | Property descriptor for looked property |
int32_t Aspose::Email::Mapi::MapiPropertyCollection::GetSize | ( | ) |
Gets the total size of property values.
|
override |
Gets the value associated with the specified key.
tag | The tag key whose value to get or set. |
System::SharedPtr<MapiProperty> Aspose::Email::Mapi::MapiPropertyCollection::idx_get | ( | const System::SharedPtr< PropertyDescriptor > & | pd | ) | const |
Gets the value associated with the specified key.
pd | The PropertyDescriptor key whose value to get or set. |
|
override |
Sets the value associated with the specified key.
tag | The tag key whose value to get or set. |
value | The value associated with the specified key. |
void Aspose::Email::Mapi::MapiPropertyCollection::idx_set | ( | const System::SharedPtr< PropertyDescriptor > & | pd, |
System::SharedPtr< MapiProperty > | value | ||
) |
Sets the value associated with the specified key.
pd | The PropertyDescriptor key whose value to get or set. |
value | The value associated with the specified key. |
|
override |
Removes the property with the specified tag from the collection.
key | The tag of the property to remove. |
|
override |
bool Aspose::Email::Mapi::MapiPropertyCollection::Remove | ( | const System::SharedPtr< PropertyDescriptor > & | pd | ) |
Removes the property with the specified property descriptor from the collection.
pd | Property descriptor of the property to remove. |
|
virtual |
Sets the property.
property | The property. |
ArgumentNullException | If property is null. |
ArgumentException | If property data is null. |
InvalidOperationException | If data type is not supported. |
|
virtual |
Sets MAPI property.
pd | The property descriptor. |
value | The property data. |
|
override |
Gets the property associated with the specified tag.
key | The property tag. |
value |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |